com.onlineobject.objectnet Namespace

RelayTransportClient Methods

The RelayTransportClient type exposes the following members.

Methods


  Name Description
Public method Configure
Configures the transport client with the specified callbacks.
Public method Connect
Initiates a connection using the underlying transport mechanism.
Public method Destroy
Destroys the transport client, cleaning up any resources.
Public method GetIdleTimeout
Retrieves the idle timeout value for the transport client.
Public method GetIp
Retrieves the IP address used by the transport client.
Public method GetPort
Retrieves the port number used by the transport client.
Public method Initialize
Initializes the transport client, preparing it for operation.
Public method IsConnected
Checks if the transport client is currently connected.
Public method OnClientConnected
Handles the event when a client connects to the transport.
Public method OnClientDisconnected
Handles the event when a client disconnects from the transport.
Public method OnMessageReceived
Handles the event when a message is received from a client.
Public method Process
Processes any pending operations for the transport client.
Public method Send
Sends data to the connected transport using the specified delivery mode.
Public method SetIdleTimeout
Sets the idle timeout for the transport client.
Public method SetIp
Sets the IP address for the transport client.
Public method SetPort
Sets the port number for the transport client.