ChaosConnector Class |
Namespace: FastProxy.Listeners.Chaos
public class ChaosConnector : IConnector
The ChaosConnector type exposes the following members.
| Name | Description | |
|---|---|---|
| ChaosConnector |
Initializes a new ChaosConnector.
|
| Name | Description | |
|---|---|---|
| Connect |
Called when a new client tries to connect.
| |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| OnAborted |
Raises the Aborted event.
| |
| OnRejected |
Raises the Rejected event.
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
| Aborted |
Raised when a connection is aborted.
| |
| Rejected |
Raised when an incoming connect is rejected.
|
The ChaosConnector configures a ProxyServer to randomly close connections following rules described in a ChaosConfiguration. This connector is useful for load testers for applications that need to be able to gracefully support connection drops.