qBool Follow( ProtocolCallContext * pContext, const qVector< String > & topics ); qBool Follow( ProtocolCallContext * pContext, const String & topic );
Follow ( ProtocolCallContext *, const qVector< String > & ) | Follows several topics. |
Follow ( ProtocolCallContext *, const String & ) | Follows a single topic. |
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
.
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)
: 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