Click or drag to resize
ISerialConnector Methods

The ISerialConnector 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.
(Inherited from IConnector.)
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.
(Inherited from IConnector.)
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.
(Inherited from IConnector.)
Public methodGetConnections
Returns an array of established connections made by the connector.
(Inherited from IConnector.)
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.
(Inherited from IConnector.)
Public methodGetFirstConnection
Returns the first established connection or null if there are no connections.
(Inherited from IConnector.)
Public methodRead(Byte, ConnectionReadDelegate)
Reads the next chunk from the first (or only) connection.
(Inherited from IConnector.)
Public methodRead(Byte, Int32, Int32, ConnectionReadDelegate)
Reads the next chunk from the first (or only) connection.
(Inherited from IConnector.)
Public methodRestartConnection
Closes the connection and then establishes the connection.
(Inherited from IConnector.)
Public methodWrite(Byte, Int32)
Writes the content of the buffer to every connection.
(Inherited from IConnector.)
Public methodWrite(Byte, Int32, Int32, Int32)
Writes the content of the buffer to every connection.
(Inherited from IConnector.)
Top
See Also