Click or drag to resize

ChaosConnector Class

Implements a IConnector that randomly closes connections.
Inheritance Hierarchy
SystemObject
  FastProxy.Listeners.ChaosChaosConnector

Namespace:  FastProxy.Listeners.Chaos
Assembly:  FastProxy (in FastProxy.dll) Version: 0.2.0.0
Syntax
C#
public class ChaosConnector : IConnector

The ChaosConnector type exposes the following members.

Constructors
  NameDescription
Public methodChaosConnector
Initializes a new ChaosConnector.
Top
Methods
  NameDescription
Public methodConnect
Called when a new client tries to connect.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnAborted
Raises the Aborted event.
Protected methodOnRejected
Raises the Rejected event.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventAborted
Raised when a connection is aborted.
Public eventRejected
Raised when an incoming connect is rejected.
Top
Remarks

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.

See Also