IConnection |
The IConnectionProvider type exposes the following members.
Name | Description | |
---|---|---|
Error | Obsolete. Start immediate error recovery. Usually due to an error on the upper layer. | |
IsReceiveThread | ||
SendMessage | Deliver a protocol unit (as a string) to the server. | |
Start | Start the connection provider (connects to the server and start the automatic reconnection). ConnectionData must be initialized or else an exception is thrown. | |
Start(IConnectionData) | Start the connection provider (connects to the server and start the automatic reconnection). | |
Stop | Stop the connection provider. Opposite of Start(). | |
WaitForConnection | Block and wait until the connection is established. | |
WaitForConnection(TimeSpan) | ||
WaitForDisconnection | Block and wait until the connection is not established anymore. | |
WaitForDisconnection(TimeSpan) |