Click or drag to resize

IConnectionProvider Methods

The IConnectionProvider type exposes the following members.

Methods
 NameDescription
Public methodErrorObsolete.
Start immediate error recovery. Usually due to an error on the upper layer.
Public methodIsReceiveThread 
Public methodSendMessage Deliver a protocol unit (as a string) to the server.
Public methodStart Start the connection provider (connects to the server and start the automatic reconnection). ConnectionData must be initialized or else an exception is thrown.
Public methodStart(IConnectionData) Start the connection provider (connects to the server and start the automatic reconnection).
Public methodStop Stop the connection provider. Opposite of Start().
Public methodWaitForConnection Block and wait until the connection is established.
Public methodWaitForConnection(TimeSpan) 
Public methodWaitForDisconnection Block and wait until the connection is not established anymore.
Public methodWaitForDisconnection(TimeSpan) 
Top
See Also