ClientBase Methods

Methods

Connect Connects the client to the server synchronously.
ConnectAsync Connects the client to the server asynchronously.
Create Create a communications client
Disconnect When overridden in a derived class, disconnects client from the server synchronously.
Dispose Releases all the resources used by the ClientBase object.
Dispose(Boolean) Releases the unmanaged resources used by the ClientBase object and optionally releases the managed resources.
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
Initialize Initializes the client.
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
OnConnectionAttempt Raises the ConnectionAttempt event.
OnConnectionEstablished Raises the ConnectionEstablished event.
OnConnectionException Raises the ConnectionException event.
OnConnectionTerminated Raises the ConnectionTerminated event.
OnReceiveData Raises the ReceiveData event.
OnReceiveDataComplete Raises the ReceiveDataComplete event.
OnReceiveDataException Raises the ReceiveDataException event.
OnSendDataComplete Raises the SendDataComplete event.
OnSendDataException Raises the SendDataException event.
OnSendDataStart Raises the SendDataStart event.
Read When overridden in a derived class, reads a number of bytes from the current received data buffer and writes those bytes into a byte array at the specified offset.
RequestNextServerIndex Requests that the client attempt to move to the next ServerIndex.
Send(Byte) Sends data to the server synchronously.
Send(String) Sends data to the server synchronously.
Send(Byte, Int32, Int32) Sends data to the server synchronously.
SendAsync(Byte) Sends data to the server asynchronously.
SendAsync(String) Sends data to the server asynchronously.
SendAsync(Byte, Int32, Int32) Sends data to the server asynchronously.
SendDataAsync When overridden in a derived class, sends data to the server asynchronously.
ToStringReturns a string that represents the current object.
(Inherited from Object)
UpdateBytesReceived Updates the Statistics pertaining to bytes received.
UpdateBytesSent Updates the Statistics pertaining to bytes sent.
ValidateConnectionString When overridden in a derived class, validates the specified connectionString.

See Also