nn::nex::DirectTransport Class

Syntax

class DirectTransport

Description

Class for handling the simple sending and receiving features (direct transport), without using duplicated objects.

This feature remains to maintain compatibility. Its use is not recommended. Please use DirectStream instead.

Member Functions

DirectTransport Do not call this constructor directly from applications. Instances of the DirectTransport class are created automatically by the system.
V ~DirectTransport Do not call this destructor directly from applications. Instances of the DirectTransport class are destroyed automatically by the system.
RegisterUserReceiveCallback Registers the callback function that is called when data is received via the direct transport feature.
UnregisterUserReceiveCallback Unregisters a registered Receive callback function.
SendUnreliable Sends data to the station specified as the destination, using unreliable communications. (Delivery of data is not guaranteed.)
SendUnreliableAll Sends data to all stations participating in the session using unreliable communications. (Delivery is not guaranteed.)
SendReliable Sends data to the station specified as the destination, using reliable communications. (Delivery is guaranteed.)
SendReliableAll Sends data to all stations participating in the session using reliable communications. (Delivery is guaranteed.)
S GetInstance Gets an instance of DirectTransport.

Revision History

2012/01/26
Initial version.

CONFIDENTIAL