IConnector Methods |
The IConnector type exposes the following members.
Name | Description | |
---|---|---|
CloseConnection |
Tells the connector to close all connections. This blocks until all connections
have been shut down.
| |
Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.) | |
EstablishConnection |
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.
| |
GetActivityHistory |
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.
| |
GetConnections |
Returns an array of established connections made by the connector.
| |
GetExceptionHistory |
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.
| |
GetFirstConnection |
Returns the first established connection or null if there are no connections.
| |
Read(Byte, ConnectionReadDelegate) |
Reads the next chunk from the first (or only) connection.
| |
Read(Byte, Int32, Int32, ConnectionReadDelegate) |
Reads the next chunk from the first (or only) connection.
| |
RestartConnection |
Closes the connection and then establishes the connection.
| |
Write(Byte, Int32) |
Writes the content of the buffer to every connection.
| |
Write(Byte, Int32, Int32, Int32) |
Writes the content of the buffer to every connection.
|