com.onlineobject.objectnet Namespace

NetworkClient Members

The NetworkClient type exposes the following members.

Constructors


  Name Description
Public method NetworkClient(Int32)
Initializes a new instance of the NetworkClient class with a specified connection ID.
Public method NetworkClient(String, UInt16, Int32)
Initializes a new instance of the NetworkClient class with specified IP, port, and connection ID.

Methods


  Name Description
Public method GetChannel
Gets the communication channel associated with the client.
Public method GetConnectionId
Gets the connection ID of the client.
Public method GetIp
Gets the IP address of the client.
Public method GetIpPort
Gets the IP address and port as a formatted string.
Public method GetNetworkObjectId
Gets the network object ID associated with the client.
Public method GetPort
Gets the port number of the client.
Public method GetReceivedSequence
Gets the sequence number for the last received UDP packet.
Public method GetTransport
Gets the transport layer associated with the client.
Public method Send(DataStream, DeliveryMode)
Sends data using the assigned channel and transport layer with the specified delivery mode.
Public method Send(array<Byte>[]()[][], DeliveryMode)
Sends a byte array using the assigned channel and transport layer with the specified delivery mode.
Public method Send(Int32, DataStream, DeliveryMode)
Sends an event with a code and data using the assigned channel and transport layer with the specified delivery mode.
Public method SetChannel
Sets the communication channel for the client.
Public method SetConnectionId
Sets the connection ID for the client.
Public method SetNetworkObjectId
Sets the network object ID for the client.
Public method SetReceivedSequence
Sets the sequence number for the last received UDP packet.
Public method SetTransport
Sets the transport layer for the client.
Public method Transmit
Transmits data using the assigned channel and transport layer with the specified delivery mode.