Diffusion .NET API
5.9.24
|
Default ITopicStream implementation. More...
Public Member Functions | |
virtual void | OnSubscription (string topicPath, ITopicDetails details) |
This notifies when a topic is subscribed to. More... | |
virtual void | OnUnsubscription (string topicPath, TopicUnsubscribeReason reason) |
This notifies when a topic is unsubscribed. More... | |
virtual void | OnTopicUpdate (string topicPath, IContent content, IUpdateContext context) |
Topic update received. More... | |
Public Member Functions inherited from PushTechnology.ClientInterface.Client.Callbacks.StreamDefault | |
virtual void | OnClose () |
Called to notify that a stream context was closed normally. More... | |
Public Member Functions inherited from PushTechnology.ClientInterface.Client.Callbacks.DefaultCallback | |
virtual void | OnError (ErrorReason errorReason) |
Notification of a contextual error related to this callback. This is analogous to an exception being raised. Situations in which More... | |
Default ITopicStream implementation.
This simply logs calls to OnSubscription, OnUnsubscription and OnTopicUpdate at 'Debug' level. These implementations may be useful during development but would usually need to be overridden to provide actual processing.
|
virtual |
This notifies when a topic is subscribed to.
This provides only TopicDetailsLevel.BASICdetails of the topic.
topicPath | the full topic path |
details | the basic details |
Implements PushTechnology.ClientInterface.Client.Features.ITopicStream.
|
virtual |
Topic update received.
This indicates an update to the state of a topic that is subscribed to.
topicPath | the full topic path. |
content | the topic content. The context may contain more information about the nature of the content |
context | the update context which may indicate whether the content represents the total state or a change to the state |
Implements PushTechnology.ClientInterface.Client.Features.ITopicStream.
|
virtual |
This notifies when a topic is unsubscribed.
topicPath | the full topic path. |
reason | the reason for unsubscription. |
Implements PushTechnology.ClientInterface.Client.Features.ITopicStream.