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