| IConnection Interface | 
Namespace: VirtualRadar.Interface.Network
The IConnection type exposes the following members.
| Name | Description | |
|---|---|---|
| BytesRead | 
            Gets the total number of bytes read on the connection.
              | |
| BytesWritten | 
            Gets the total number of bytes sent.
              | |
| ConnectionStatus | 
            Gets the current state of the connection.
              | |
| Connector | 
            Gets the connector that owns this connection.
              | |
| Created | 
            Gets the date and time at UTC when the connection was established.
              | |
| Description | 
            Gets a description of the connection.
              | |
| OperationQueueEntries | 
            Gets how many operations are queued for this connection.
              | |
| StaleBytesDiscarded | 
            Gets the total number of bytes that have been discarded because they were stale.
              | |
| WriteQueueBytes | 
            Gets the total number of bytes queued for sending.
              | 
| Name | Description | |
|---|---|---|
| Abandon | 
            Abandons the connection, closing and destroying it.
              | |
| Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.  (Inherited from IDisposable.) | |
| Read(Byte, ConnectionReadDelegate) | 
            Reads the next chunk from the connection.
              | |
| Read(Byte, Int32, Int32, ConnectionReadDelegate) | 
            Reads the next chunk from the connection.
              | |
| Write(Byte, Int32) | 
            Sends the content of the buffer over the connection.
              | |
| Write(Byte, Int32, Int32, Int32) | 
            Sends the content of the buffer over the connection.
              | 
| Name | Description | |
|---|---|---|
| ConnectionStateChanged | 
            Raised when ConnectionStatus changes.
              |