com.onlineobject.objectnet Namespace

ITransport Methods

The ITransport type exposes the following members.

Methods


  Name Description
Public method Configure
Configures the transport layer with callback functions for client connection events and message receiving.
Public method Connect
Attempts to establish a connection using the transport layer.
Public method Destroy
Destroys the transport layer, performing any necessary cleanup.
Public method GetIdleTimeout
Retrieves the currently set idle timeout for the transport.
Public method GetIp
Retrieves the currently set IP address.
Public method GetPort
Retrieves the currently set port number.
Public method Initialize
Initializes the transport layer.
Public method IsConnected
Checks if the transport is currently connected.
Public method OnClientConnected
Called when a client has successfully connected.
Public method OnClientDisconnected
Called when a client has disconnected.
Public method OnMessageReceived
Called when a message is received from a client.
Public method Process
Processes any pending transport layer actions.
Public method Send
Sends data using the transport.
Public method SetIdleTimeout
Sets the idle timeout for the transport.
Public method SetIp
Sets the IP address for the transport.
Public method SetPort
Sets the port for the transport.