AMPS C# Client  5.3.5.0
AMPS C# Client for .NET
AMPS.Client.DefaultDisconnectHandler Class Reference

A default no-op implementation of the ClientDisconnectHandler and TransportDisconnectHandler interfaces that does nothing. More...

+ Inheritance diagram for AMPS.Client.DefaultDisconnectHandler:

Public Member Functions

void invoke (Client client)
 No-op implementation of the invoke method for ClientDisconnectHandler. More...
 
void invoke (Transport transport, System.Exception e)
 No-op implementation of the invoke method for TransportDisconnectHandler. More...
 
void preInvoke (int failedVersion)
 No-op implementation of the preInvoke method. More...
 
- Public Member Functions inherited from AMPS.Client.TransportDisconnectHandler
void invoke (Transport transport, Exception e)
 Called by the Transport whenever the underlying socket is disconnected. More...
 

Static Public Attributes

static DefaultDisconnectHandler instance = new DefaultDisconnectHandler()
 Singleton instance of the DefaultDisconnectHandler. More...
 

Detailed Description

A default no-op implementation of the ClientDisconnectHandler and TransportDisconnectHandler interfaces that does nothing.

Member Function Documentation

◆ invoke() [1/2]

void AMPS.Client.DefaultDisconnectHandler.invoke ( Client  client)
inline

No-op implementation of the invoke method for ClientDisconnectHandler.

Parameters
clientThe client being disconnected.

Implements AMPS.Client.ClientDisconnectHandler.

◆ invoke() [2/2]

void AMPS.Client.DefaultDisconnectHandler.invoke ( Transport  transport,
System.Exception  e 
)
inline

No-op implementation of the invoke method for TransportDisconnectHandler.

Parameters
transportThe transport instance.
eThe exception that occurred during disconnection.

◆ preInvoke()

void AMPS.Client.DefaultDisconnectHandler.preInvoke ( int  failedVersion)
inline

No-op implementation of the preInvoke method.

Parameters
failedVersionThe version that failed.

Implements AMPS.Client.TransportDisconnectHandler.

Member Data Documentation

◆ instance

DefaultDisconnectHandler AMPS.Client.DefaultDisconnectHandler.instance = new DefaultDisconnectHandler()
static

Singleton instance of the DefaultDisconnectHandler.


The documentation for this class was generated from the following file: