Remote Command Protocol Class Methods  
 
Class Description
CRshClient Constructor which initializes the current instance of the class.
~CRshClient Destructor which releases resources allocated by the class.
Method Description
AttachHandle Attach the specified client handle to this instance of the class.
AttachThread Attach the specified client handle to another thread.
Cancel Cancel the current blocking operation.
DetachHandle Detach the handle for the current instance of this class.
DisableEvents Disable asynchronous event notification.
DisableTrace Disable logging of network function calls.
Disconnect Disconnect from the current server.
EnableEvents Enable asynchronous event notification.
EnableTrace Enable logging of network function calls to a file.
Execute Execute a command on the server.
FreezeEvents Suspend asynchronous event processing.
GetErrorString Return a description for the specified error code.
GetHandle Return the client handle used by this instance of the class.
GetLastError Return the last error code.
GetStatus Return the current client status.
GetTimeout Return the number of seconds until an operation times out.
IsBlocking Determine if the client is blocked, waiting for information.
IsConnected Determine if the client is connected to the server.
IsInitialized Determine if the class has been successfully initialized.
IsReadable Determine if data can be read from the server.
IsWritable Determine if data can be written to the server.
Login Establish a login session with the specified server.
Read Read data returned by the server.
RegisterEvent Register an event callback function.
RshEventProc Callback method that processes events generated by the client.
Search Search for a specific character sequence in the data stream.
SetLastError Set the last error code.
SetTimeout Set the number of seconds until an operation times out.
ShowError Display a message box with a description of the specified error.
Write Write data to the server.