nn::nex::SubscriberClient::GetNumFollowers Member Function

Syntax

qBool GetNumFollowers(
     ProtocolCallContext * pContext,
     const String & topic,
     qUnsignedInt32 * numFollowers
);

Parameters

Name Description
in pContext Call information.
in topic Topic for which to get the number of followers.
out numFollowers The number of followers.

Return Values



Value Description
true RMC call initialization succeeded.
false Failure.

Description

Gets the number of users following the specified topic.

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 reserved topic number exceeds SubscriberConstants::NUM_RESERVED_TOPICS.

Revision History

2014/09/12
Initial version.

CONFIDENTIAL