nn::nex::DirectStream Class

Syntax

class DirectStream

Description

Handles the simple sending and receiving features (DirectStream), without using duplicated objects.

Structures

nn::nex::DirectStream::Data Receive information in DirectStream.

Enumerated Types

StreamType The type of communication handled by DirectStream.

Member Functions

DirectStream Do not call this constructor directly from applications. Instances of the DirectStream class are created automatically by the system.
V ~DirectStream Do not call this destructor directly from applications. Instances of the DirectStream class are destroyed automatically by the system.
Enable Enables the DirectStream function.
Disable Disables the DirectStream function.
Send Sends data to a specific station.
SendUnreliable Sends unreliable data to a specific station.
SendReliable Sends reliable data with a specified SubStreamID to a specific station.
SendAll Sends data to all stations participating in a session.
SendUnreliableAll Sends unreliable data to all stations participating in a session.
GetReceivedData Gets the received data stored in the receive buffer with dispatch processes.
GetMaxReliableSendBufferNum Gets the maximum number of send buffers in reliable communications.
SetMaxReliableSendBufferNum Sets the maximum number of send buffers in reliable communication.
GetPendingReliableBufferNum Gets the number of pending reliable communications for the station addresses specified by StationID. The value that is obtained includes reliable communication packets that are used internally in NEX, in addition to unreliable communication packets that are used for direct streams.
S GetInstance Gets an instance of DirectStream.

Revision History

2012/04/10
Initial version.

CONFIDENTIAL