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