nn::nex::BinaryMessage Class

Syntax

class BinaryMessage : public nn::nex::UserMessage

Description

Class that stores binary data.

To use instant messaging features, use either this class, the UserMessage class, or the TextMessage class.

Member Functions

BinaryMessage Constructor.
SetBuffer Copies the specified buffer and sets the binary data. Data exceeding MESSAGING_BINARY_MAX_SIZE cannot be used with the instant messaging feature. An error occurs during server transmission.
GetBufferPtr Gets the binary data buffer address.
GetBufferSize Gets the binary data buffer size.
GetReceptionTime Gets the time at which a message was received. (Inherits from UserMessage.)
GetSenderID Gets the PrincipalID of the message sender. (Inherits from UserMessage.)
GetRecipientID Returns the ID set as the recipient when sending a message. (Inherits from UserMessage.)
GetRecipientType Returns the type for the ID obtained with the GetRecipientID function. (Inherits from UserMessage.)
GetSubject Gets the Subject of the message. (Inherits from UserMessage.)
SetSubject Sets the Subject of the message. Text exceeding MESSAGING_STRING_MAX_LENGTH characters (excluding NULL termination) cannot be used with the instant messaging feature. An error occurs during server transmission. (Inherits from UserMessage.)
S DynamicCast Performs a dynamic cast for the Data class pointer. (Inherits from Data.)

Class Hierarchy

nn::nex::Data
  nn::nex::UserMessage
    nn::nex::BinaryMessage

Revision History

2013/01/28
Initial version.

CONFIDENTIAL