NetworkClient Members
The NetworkClient type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
NetworkClient(Int32) |
Initializes a new instance of the NetworkClient class with a specified connection ID.
|
![]() |
NetworkClient(String, UInt16, Int32) |
Initializes a new instance of the NetworkClient class with specified IP, port, and connection ID.
|
Methods
Name | Description | |
---|---|---|
![]() |
GetChannel |
Gets the communication channel associated with the client.
|
![]() |
GetConnectionId |
Gets the connection ID of the client.
|
![]() |
GetIp |
Gets the IP address of the client.
|
![]() |
GetIpPort |
Gets the IP address and port as a formatted string.
|
![]() |
GetNetworkObjectId |
Gets the network object ID associated with the client.
|
![]() |
GetPort |
Gets the port number of the client.
|
![]() |
GetReceivedSequence |
Gets the sequence number for the last received UDP packet.
|
![]() |
GetTransport |
Gets the transport layer associated with the client.
|
![]() |
Send(DataStream, DeliveryMode) |
Sends data using the assigned channel and transport layer with the specified delivery mode.
|
![]() |
Send(array<Byte>[]()[][], DeliveryMode) |
Sends a byte array using the assigned channel and transport layer with the specified delivery mode.
|
![]() |
Send(Int32, DataStream, DeliveryMode) |
Sends an event with a code and data using the assigned channel and transport layer with the specified delivery mode.
|
![]() |
SetChannel |
Sets the communication channel for the client.
|
![]() |
SetConnectionId |
Sets the connection ID for the client.
|
![]() |
SetNetworkObjectId |
Sets the network object ID for the client.
|
![]() |
SetReceivedSequence |
Sets the sequence number for the last received UDP packet.
|
![]() |
SetTransport |
Sets the transport layer for the client.
|
![]() |
Transmit |
Transmits data using the assigned channel and transport layer with the specified delivery mode.
|