AMPS C# Client
5.3.5.0
AMPS C# Client for .NET
|
This class is used internally. Customers typically do not need to create their own implementations. This is used by the client's transport to notify the client of disconnection events. More...
Public Member Functions | |
void | invoke (Transport transport, Exception e) |
Called by the Transport whenever the underlying socket is disconnected. More... | |
void | preInvoke (int connectionVersion) |
Called before invoke by the transport with a monotonically increasing "connection version" integer that is incremented upon each reconnect. More... | |
This class is used internally. Customers typically do not need to create their own implementations. This is used by the client's transport to notify the client of disconnection events.
void AMPS.Client.TransportDisconnectHandler.invoke | ( | Transport | transport, |
Exception | e | ||
) |
Called by the Transport whenever the underlying socket is disconnected.
transport | The calling transport that was disconnected. |
e | The cause of the disconnect. |
void AMPS.Client.TransportDisconnectHandler.preInvoke | ( | int | connectionVersion | ) |
Called before invoke by the transport with a monotonically increasing "connection version" integer that is incremented upon each reconnect.
connectionVersion | The integer that is incremented upon each reconnect. |
Implemented in AMPS.Client.DefaultDisconnectHandler.