qBool Follow( ProtocolCallContext * pContext, const qVector< String > & topics );
Name | Description | |
---|---|---|
in | pContext | Call information. |
in | topics | The topics to follow. |
Value | Description |
---|---|
true | RMC call initialization succeeded. |
false | Failure. |
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
.
CONFIDENTIAL