nn::rdt::CTR Namespace

Description

The CTR RDT (reliable local communication) namespace.

Classes

nn::rdt::CTR::Receiver Class that represents a device that receives data.
nn::rdt::CTR::Sender Class that represents a device that sends data.
nn::rdt::CTR::ResultAlreadyInitialized Indicates that a function exited without doing anything because initialization had already finished (this is not an error).
nn::rdt::CTR::ResultDoNothing Indicates that a function exited without doing anything (this is not an error).
nn::rdt::CTR::ResultNotInitialized Indicates an uninitialized instance.
nn::rdt::CTR::ResultSendBufferIsNotAvailable Indicates that the Sender::Send function attempted to write data to the send buffer, but the send buffer did not have enough free space.
nn::rdt::CTR::ResultInvalidSize Indicates that an invalid size was specified as an argument.
nn::rdt::CTR::ResultMisalignedAddress Indicates that a memory address with an invalid alignment was passed as an argument.
nn::rdt::CTR::ResultNullPointer Indicates an error caused by specifying a null pointer as an argument.
nn::rdt::CTR::ResultResetReceived Indicates that a reset signal was received from a peer and there was a state transition to CLOSED.
nn::rdt::CTR::ResultResendQueueIsFull Indicates that the RDT library's internal resend queue was full.
nn::rdt::CTR::ResultUntimelyFunctionCall Indicates that a function was called when it should not have been.
nn::rdt::CTR::ResultNoData A result code that is used only within the library. Indicates that no segments have been received (no segments have arrived yet).
nn::rdt::CTR::ResultInvalidValue A result code that indicates that an argument value was invalid.

Structures

nn::rdt::CTR::ReceiverConfig Structure that contains all configuration information passed to Initialize.
nn::rdt::CTR::SenderConfig Structure that contains all configuration information passed to Initialize.

Enumerated Types

SenderState Enumerated type that indicates the state of a Sender instance.
ReceiverState Enumerated type that indicates the state of a Receiver instance.

Constants

LOG_LEVEL_NONE const bit32 Constant that indicates that a log will not in any way be output.
LOG_LEVEL_ALL const bit32 Constant that indicates that all logs will be output.

Functions

SetLogLevel Configures the RDT library's log output level.
GetLogLevel Gets the log output level configured for the RDT library.

Revision History

2010/06/14
Initial version.

CONFIDENTIAL