Diffusion .NET Client Library
6.1.5
|
The default ITopicStream implementation. More...
Public Member Functions | |
virtual void | OnSubscription (string topicPath, ITopicDetails details) |
Called when a session is subscribed to a topic that matches the stream registration. More... | |
virtual void | OnUnsubscription (string topicPath, TopicUnsubscribeReason reason) |
Called if the session is unsubscribed from a topic that matches the stream registration. More... | |
virtual void | OnTopicUpdate (string topicPath, IContent content, IUpdateContext context) |
This indicates an update to the state of a topic that is subscribed to. More... | |
Public Member Functions inherited from PushTechnology.ClientInterface.Client.Callbacks.DefaultStream | |
virtual void | OnClose () |
Notification 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. More... | |
The default ITopicStream implementation.
This simply logs calls at 'debug' level. This can be overridden to perform some more specific action.
|
virtual |
Called when a session is subscribed to a topic that matches the stream registration.
topicPath | The full topic path. |
details | The basic topic details. |
Implements PushTechnology.ClientInterface.Client.Features.ITopicStream.
|
virtual |
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 can contain more information about the nature of the content. |
context | The update context which can indicate whether the content represents the total state or a change to the state. |
Implements PushTechnology.ClientInterface.Client.Features.ITopicStream.
|
virtual |
Called if the session is unsubscribed from a topic that matches the stream registration.
topicPath | The full topic path. |
reason | The reason for unsubscription. |
Implements PushTechnology.ClientInterface.Client.Features.ITopicStream.