nn::nex::Network Class

Syntax

class Network : public nn::nex::RefCountedObject

Description

Encapsulates network objects.

Member Constants

S MAX_P2P_SIGNATURE_KEY_LEN The maximum value for the key data length used for the data packet signature.
S MIN_P2P_SIGNATURE_KEY_LEN The minimum value for the key data length used for the data packet signature.

Member Functions

SetP2PDataPacketSessionSignatureKey Sets the key to use when computing a signature for each peer-to-peer communication session.
ClearP2PDataPacketSessionSignatureKey Clears the key to use when computing a signature for each peer-to-peer communication session.
GetP2PDataPacketSessionSignatureKeyPaylod Gets the key to use when computing a signature for each peer-to-peer communication session.
GetP2PDataPacketSessionSignatureKeyLength Gets the size of the key to use when computing a signature for each peer-to-peer communication session.
AcquireRef Increments the reference count by 1. (Inherits RefCountedObject.)
ReleaseRef Decrements the reference count by 1. Deletes itself when the count reaches 0. (Inherits RefCountedObject.)
S GetInstance Gets an instance of Network.
S SetP2PDataPacketDefaultSignatureKey Sets the key data to use when computing a default signature for peer-to-peer communications.

Class Hierarchy

nn::nex::RootObject
  nn::nex::RefCountedObject
    nn::nex::Network

Revision History

2011/03/18
Initial version.

CONFIDENTIAL