nn::nex::MessagingClient::SendInstant Member Function

Syntax

qBool SendInstant(
     ProtocolCallContext * pContext,
     PrincipalID pid,
     const UserMessageDataHolder & oUserMessage
);

Parameters

Name Description
in pContext Call information.
in pid Principal ID of the recipient.
in oUserMessage Message data.

Return Values



Value Description
true Call initialization succeeded.
false Failure.

Description

Sends an instant message.

Using reliable communication, instant messages are sent to specified users by using the game server. The asynchronous process returns success when the instant message reaches the game server. For this reason, it is not known if the message has arrived at the recipient from the results of the asynchronous results. Messages that reach the game server are guaranteed to reach the recipient as long as the recipient is not disconnected from the game server.

See Also

MessagingNotificationHandler

Revision History

2013/01/29
Added a description about the sending operation.
2011/01/27
Initial version.

CONFIDENTIAL