Click or drag to resize
IConnector Methods

The IConnector type exposes the following members.

Methods
  NameDescription
Public methodCloseConnection
Tells the connector to close all connections. This blocks until all connections have been shut down.
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.)
Public methodEstablishConnection
Tells the connector to establish a connection. This is a non-blocking call, the function will return immediately and establish the connection in the background.
Public methodGetActivityHistory
Returns an array of the last so-many activities performed by the connector or any of its connections. Exactly how many is undefined. This always returns the most recent set of activities.
Public methodGetConnections
Returns an array of established connections made by the connector.
Public methodGetExceptionHistory
Returns an array of the last so-many exceptions encountered by the connector. Exactly how many is undefined, but it can be more than one and will never exceed CountExceptions. Always returns the most recent set of exceptions.
Public methodGetFirstConnection
Returns the first established connection or null if there are no connections.
Public methodRead(Byte, ConnectionReadDelegate)
Reads the next chunk from the first (or only) connection.
Public methodRead(Byte, Int32, Int32, ConnectionReadDelegate)
Reads the next chunk from the first (or only) connection.
Public methodRestartConnection
Closes the connection and then establishes the connection.
Public methodWrite(Byte, Int32)
Writes the content of the buffer to every connection.
Public methodWrite(Byte, Int32, Int32, Int32)
Writes the content of the buffer to every connection.
Top
See Also