nn::nex::SubscriberClient::Follow Member Function

Syntax

qBool Follow(
     ProtocolCallContext * pContext,
     const qVector< String > & topics
);

Parameters

Name Description
in pContext Call information.
in topics The topics to follow.

Return Values



Value Description
true RMC call initialization succeeded.
false Failure.

Description

Follows several topics.

Follows the specified topic and adds it to the list of topics that the local user is currently following. Users can follow up to SubscriberConstants::MAX_FOLLOWING_SIZE topics.

The following results may be returned as a result of asynchronous operation. Pass errors to the Error/EULA applet. Errors must be removed during debugging.

QERROR(Subscriber, InvalidArgument): No topics have been specified. Invalid topic format.
QERROR(Subscriber, OverLimit): The number of topics followed exceeds SubscriberConstants::MAX_FOLLOWING_SIZE. The reserved topic number exceeds SubscriberConstants::NUM_RESERVED_TOPICS.

Revision History

2014/09/12
Initial version.

CONFIDENTIAL