◆ PubSubTopicListener()
| ttv::social::Presence::PubSubTopicListener::PubSubTopicListener |
( |
Presence * |
owner | ) |
|
◆ OnTopicListenerRemoved()
| virtual void ttv::social::Presence::PubSubTopicListener::OnTopicListenerRemoved |
( |
PubSubClient * |
source, |
|
|
const std::string & |
topic, |
|
|
TTV_ErrorCode |
ec |
|
) |
| |
|
overridevirtual |
Indicates the the listener is no longer going to receive topic events and the reference to the listener is removed. This is independent of topic subscription and there could be other registered topic listeners for the same topic.
Implements ttv::PubSubClient::ITopicListener.
◆ OnTopicMessageReceived()
| virtual void ttv::social::Presence::PubSubTopicListener::OnTopicMessageReceived |
( |
PubSubClient * |
source, |
|
|
const std::string & |
topic, |
|
|
const json::Value & |
msg |
|
) |
| |
|
overridevirtual |
◆ OnTopicSubscribeStateChanged()
Indicates changes to the topic subscription state on the socket. After receiving SubscribeState::Subscribed the client should resync all absolute state in order for deltas to properly apply to the local data.
Implements ttv::PubSubClient::ITopicListener.
◆ mOwner
| Presence* ttv::social::Presence::PubSubTopicListener::mOwner |
|
private |
The documentation for this class was generated from the following file:
- modules/social/social_common/include/twitchsdk/social/internal/presence.h