The Reconnecter type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| Reconnecter(IDuplexOutputChannel) |
Constructs the reconnecter that tries to reconnect infinitely every second.
| |
| Reconnecter(IDuplexOutputChannel, TimeSpan, Int32) |
Constructs the reconnecter from specified parameters.
|
Methods
| Name | Description | |
|---|---|---|
| DisableReconnecting |
Disables the automatic reconnecting.
| |
| EnableReconnecting |
Enables the automatic reconnecting in case the disconnect is notified.
| |
| Equals | (Inherited from Object.) | |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. (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.) | |
| ToString | (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
| IsReconnectingEnabled |
Returns true if the reconnecting is enabled.
|
Events
| Name | Description | |
|---|---|---|
| ConnectionClosed |
The event is invoked when the observed duplex output channel notified, that the connection was closed.
| |
| ConnectionOpened |
The event is invoked when the duplex output channel was reconnected.
| |
| ReconnectingFailed |
The event is invoked when the reopenning of the duplex output channel failed.
|