ChannelBase Class |
Namespace: OBCOM.NetSwitchLib.Utils
The ChannelBase type exposes the following members.
Name | Description | |
---|---|---|
ChannelBase |
Constructs a new ChannelBase instance.
|
Name | Description | |
---|---|---|
IsConnected |
Gets a value that indicates whether this channel is connected.
| |
IsSecure |
Gets a value that indicates whether this channel is secure
| |
KeepAlive |
Gets or sets a value that indicates whether the KeepAlive
option of this channel is active.
| |
ReaderBufferFreeSize |
Gets or sets the free size of the reader buffer (bytes).
| |
ReaderBufferMaxSize |
Gets or sets the maximum size of the reader buffer (bytes).
| |
ReaderBufferMinSize |
Gets or sets the minimum size of the reader buffer (bytes).
| |
ReaderBufferWarnSize |
Gets or sets the warning size of the reader buffer (bytes).
| |
Tag |
Gets a value that indicates the connection tag of this channel.
| |
TcpNoDelay |
Gets or sets a value that indicates whether this channel is using
the Nagle algorithm.
| |
Tracing |
Gets a value that indicates whether this channel is tracing inbound
and outbound messages.
| |
TrustStorePass |
Gets or sets the password of the PFX/PKCS12 trust store file used to
establish secure (SSL/TLS) connections.
| |
TrustStorePath |
Gets or sets the path of the PFX/PKCS12 trust store file used to
establish secure (SSL/TLS) connections.
|
Name | Description | |
---|---|---|
Connect |
Connects this channel to serverURI.
| |
Dispose |
Dispose managed and unmanaged resources.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
HandleInbound |
Handles an inbound message received by this channel.
| |
Inform |
Logs an information message.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Severe(String) |
Logs an error message.
| |
Severe(Exception, String) |
Logs an error message with associated ex.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
Warning |
Logs a warning message.
| |
WriteLog |
Writes the supplied log message with specified level.
| |
WriteMessage |
Writes the message to this channel.
|