The BaseClient type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
| Name | Description | |
|---|---|---|
| BaseClient |
Initializes a new instance of the BaseClient class.
|
Methods
| Name | Description | |
|---|---|---|
| Connect |
Connects client to the server.
| |
| Disconnect |
Disconnects client from the server.
| |
| Dispose |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged ResourceMessages.
| |
| Dispose(Boolean) |
Releases unmanaged and - optionally - managed resources
| |
| EnsureConnection |
Ensures that client is connected.
| |
| (Inherited from | ||
| Finalize |
Releases unmanaged resources and performs other cleanup operations before the
BaseClient is reclaimed by garbage collection.
(Overrides | |
Serves as a hash function for a particular type. (Inherited from | ||
Gets the (Inherited from | ||
Creates a shallow copy of the current (Inherited from | ||
| OnConnected |
Called when client is connected to the server.
| |
| OnConnecting |
Called when client is connecting to the server.
| |
| OnDisconnected |
Called when client is disconnected from the server.
| |
| OnDisconnecting |
Called when client is disconnecting from the server.
| |
| SendKeepAlive |
Sends keep-alive message to the server.
| |
| (Inherited from |
Properties
| Name | Description | |
|---|---|---|
| ConnectionInfo |
Gets the connection info.
| |
| IsConnected |
Gets a value indicating whether this client is connected to the server.
| |
| KeepAliveInterval |
Gets or sets the keep alive interval in seconds.
| |
| Session |
Gets current session.
|
Events
| Name | Description | |
|---|---|---|
| ErrorOccurred |
Occurs when an error occurred.
| |
| HostKeyReceived |
Occurs when host key received.
|
See Also