com.onlineobject.objectnet Namespace

NetworkElementBase..::..RegisterNetworkPacket Method

Registers a network packet to the internal packet queue.

Namespace:  com.onlineobject.objectnet
Assembly:  ObjectNetAPI (in ObjectNetAPI.dll)

Syntax


public void RegisterNetworkPacket(

	IDataStream packet

)

Parameters

packet
Type: com.onlineobject.objectnet..::..IDataStream
The network packet to register.

Remarks


This method ensures that the queue does not exceed a predefined buffer size. If the queue is full, it dequeues packets to make room for new ones.