The BaseClient type exposes the following members.

Methods

  NameDescription
Public methodConnect
Connects client to the server.
Public methodDisconnect
Disconnects client from the server.
Public methodDispose()()()()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged ResourceMessages.
Protected methodDispose(Boolean)
Releases unmanaged and - optionally - managed resources
Protected methodFinalize
Releases unmanaged resources and performs other cleanup operations before the BaseClient is reclaimed by garbage collection.
(Overrides Object..::..Finalize()()()().)
Protected methodOnConnected
Called when client is connected to the server.
Protected methodOnConnecting
Called when client is connecting to the server.
Protected methodOnDisconnected
Called when client is disconnected from the server.
Protected methodOnDisconnecting
Called when client is disconnecting from the server.
Public methodSendKeepAlive
Sends keep-alive message to the server.

Properties

  NameDescription
Public propertyIsConnected
Gets a value indicating whether this client is connected to the server.
Public propertyKeepAliveInterval
Gets or sets the keep alive interval in seconds.

Events

  NameDescription
Public eventErrorOccurred
Occurs when an error occurred.
Public eventHostKeyReceived
Occurs when host key received.

See Also