nn::nex::TextMessage Class

Syntax

class TextMessage : public nn::nex::UserMessage

Description

Stores text message data.

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

Member Functions

TextMessage Constructor.
SetTextBody Sets a text 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.
GetTextBody Gets the text message.
GetReceptionTime Gets the time at which a message was received. (Inherits UserMessage.)
GetSenderID Gets the PrincipalID of the message sender. (Inherits UserMessage.)
GetRecipientID Returns the ID set as the recipient when sending a message. (Inherits UserMessage.)
GetRecipientType Returns the type for the ID obtained with the GetRecipientID function. (Inherits UserMessage.)
GetSubject Gets the Subject of the message. (Inherits 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 UserMessage.)
S DynamicCast Performs a dynamic cast for the Data class pointer. (Inherits Data.)

Class Hierarchy

nn::nex::Data
  nn::nex::UserMessage
    nn::nex::TextMessage

Revision History

2011/01/27
Initial version.

CONFIDENTIAL