nn::nex::SubscriberClient::GetFollower Member Function

Syntax

qBool GetFollower(
     ProtocolCallContext * pContext,
     const SubscriberGetFollowerParam & param,
     SubscriberGetFollowerResult * result
);

Parameters

Name Description
in pContext Call information.
in param Detailed information.
out result Obtained result.

Return Values



Value Description
true RMC call initialization succeeded.
false Failure.

Description

Gets the principal IDs of the users following the specified topic.

This function can also get the number of followers. Use the SubscriberClient::GetNumFollowers function rather than this function if you only want to get the number of followers.

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. Specified 0 as the number of items to get.
QERROR(Subscriber, OverLimit): The specified number of followers to get exceeds SubscriberConstants::MAX_GET_FOLLOWER_SIZE. The reserved topic number exceeds SubscriberConstants::NUM_RESERVED_TOPICS.

Revision History

2014/09/12
Initial version.

CONFIDENTIAL