Name | Description | |
---|---|---|
BufferSize | Defines the buffer size (Default = 10K). |
Name | Description | |
---|---|---|
_channel | Parent Remoting channel of this connection. | |
_connectionRole | Defines the connection role. | |
_maxRetries | Maximum number of connection retry attempts. | |
_reader | Reader for reading binary raw data from network stream. | |
_remoteChannelData | Configuration data of the remoting channel. | |
_retryDelay | Delay after retry attempt in milliseconds. | |
_socket | Socket used for TCP communication. | |
_socketRemoteAddress | Address of the remote socket endpoint. | |
_socketRemotePort | Port of the remote socket endpoint. | |
_stream | Networkstream for sending and receiving raw data. | |
_writer | Writer for writing binary raw data to network stream. |
Name | Description | |
---|---|---|
Connection | Overloaded. Creates a new instance of the Connection class. |
Name | Description | |
---|---|---|
Close | Closes the connection. | |
CreateConnection | Creates a connection object. | |
GetConnection | Gets a specified connection. | |
LockRead | Locks the connection for reading through other threads. | |
LockWrite | Locks the connection for writing through other threads. | |
ReleaseRead | Releases the read lock. | |
ReleaseWrite | Releases the write lock. |
Name | Description | |
---|---|---|
IsClosed | Returns if the connection is already closed or not. | |
IsLocalHost | Checks, if the connection is a local connection or not. | |
LocalAddress | Gets the address of the local channel. | |
LocalChannelID | Gets the unique identifier of the local channel. | |
MaxRetries | Gets or sets the maximum number of connection retry attempts. | |
Reader | Gets a binary reader for reading raw data from the network stream. | |
RemoteAddresses | Gets a list of all registered addresses of the remote channel. | |
RemoteChannelID | Gets the unique identifier of the remote channel. | |
RetryDelay | Gets or sets the delay after a retry attempt in milliseconds. | |
Socket | Gets the underlying socket of the connection. | |
Stream | Gets the Network stream. | |
TcpKeepAliveEnabled | Enables or disables TCP KeepAlive. | |
TcpKeepAliveInterval | Gets or sets the TCP KeepAlive interval in milliseconds | |
TcpKeepAliveTime | Gets or sets the TCP KeepAlive time in milliseconds. | |
Writer | Gets a binary writer for writing raw data from the network stream. |