Click or drag to resize
IConnection Interface
Describes a single connection exposed by an IConnector.

Namespace: VirtualRadar.Interface.Network
Assembly: VirtualRadar.Interface (in VirtualRadar.Interface.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public interface IConnection : IDisposable

The IConnection type exposes the following members.

Properties
  NameDescription
Public propertyBytesRead
Gets the total number of bytes read on the connection.
Public propertyBytesWritten
Gets the total number of bytes sent.
Public propertyConnectionStatus
Gets the current state of the connection.
Public propertyConnector
Gets the connector that owns this connection.
Public propertyCreated
Gets the date and time at UTC when the connection was established.
Public propertyDescription
Gets a description of the connection.
Public propertyOperationQueueEntries
Gets how many operations are queued for this connection.
Public propertyStaleBytesDiscarded
Gets the total number of bytes that have been discarded because they were stale.
Public propertyWriteQueueBytes
Gets the total number of bytes queued for sending.
Top
Methods
Events
  NameDescription
Public eventConnectionStateChanged
Raised when ConnectionStatus changes.
Top
Remarks
Exceptions caught by the connection are channeled through the owning IConnector with the sender set to the IConnection object.
See Also