Diffusion .NET Client Library
6.1.5
|
Represents the state of the session. More...
Public Types | |
enum | SessionStateEnum { SessionStateEnum.CONNECTING, SessionStateEnum.CONNECTION_ATTEMPT_FAILED, SessionStateEnum.CONNECTED_ACTIVE, SessionStateEnum.RECOVERING_RECONNECT, SessionStateEnum.CLOSED_BY_CLIENT, SessionStateEnum.CLOSED_BY_SERVER, SessionStateEnum.CLOSE_FAILED } |
Enumerations representing the state of a session. More... | |
Public Member Functions | |
override string | ToString () |
Returns a string that represents the current object. More... | |
Static Public Attributes | |
static readonly SessionState | CONNECTING |
The session is establishing its initial connection. More... | |
static readonly SessionState | CONNECTION_ATTEMPT_FAILED |
The attempt to establish a connection to a server has failed. More... | |
static readonly SessionState | CONNECTED_ACTIVE |
There is an active connection with a server. More... | |
static readonly SessionState | RECOVERING_RECONNECT |
Connection with a server has been lost and the session is attempting reconnection to the same server. More... | |
static readonly SessionState | CLOSED_BY_CLIENT |
The session has been closed by the client. More... | |
static readonly SessionState | CLOSED_BY_SERVER |
The session has been closed (or rejected) by the server. More... | |
static readonly SessionState | CLOSE_FAILED |
The session has lost its connection to a server and could not be recovered. More... | |
Properties | |
bool | Connected [get, set] |
Returns the 'connected' state. More... | |
bool | Recovering [get, set] |
Returns the 'recovering' state. More... | |
bool | Closed [get, set] |
Returns the 'closed' state. More... | |
Represents the state of the session.
Enumerations representing the state of a session.
Enumerator | |
---|---|
CONNECTING |
The session is establishing its initial connection. |
CONNECTION_ATTEMPT_FAILED |
The attempt to establish a connection to a server has failed. |
CONNECTED_ACTIVE |
There is an active connection with a server. |
RECOVERING_RECONNECT |
Connection with a server has been lost and the session is attempting reconnection to the same server. |
CLOSED_BY_CLIENT |
The session has been closed by the client. |
CLOSED_BY_SERVER |
The session has been closed (or rejected) by the server. |
CLOSE_FAILED |
The session has lost its connection to a server and could not be recovered. |
override string PushTechnology.ClientInterface.Client.Session.SessionState.ToString | ( | ) |
Returns a string that represents the current object.
|
static |
The session has lost its connection to a server and could not be recovered.
|
static |
The session has been closed by the client.
|
static |
The session has been closed (or rejected) by the server.
|
static |
There is an active connection with a server.
|
static |
The session is establishing its initial connection.
|
static |
The attempt to establish a connection to a server has failed.
|
static |
Connection with a server has been lost and the session is attempting reconnection to the same server.
|
getset |
Returns the 'closed' state.
|
getset |
Returns the 'connected' state.
|
getset |
Returns the 'recovering' state.