Diffusion .NET Client Library  6.1.5
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
PushTechnology.ClientInterface.Client.Features.Control.Topics.SubscriptionByFilterCallbackDefault Class Reference

Default implementation of ISubscriptionByFilterCallback. More...

Inheritance diagram for PushTechnology.ClientInterface.Client.Features.Control.Topics.SubscriptionByFilterCallbackDefault:
PushTechnology.ClientInterface.Client.Features.Control.Topics.ISubscriptionByFilterCallback PushTechnology.ClientInterface.Client.Callbacks.ICallback

Public Member Functions

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...
 
virtual void OnComplete (int numberSelected)
 Called to indicate successful processing of the request at the server. More...
 
virtual void OnRejected (ICollection< IErrorReport > errors)
 The filter was rejected. No clients were subscribed/unsubscribed. More...
 

Detailed Description

Default implementation of ISubscriptionByFilterCallback.

This logs OnComplete calls at 'Debug' level and OnRejected calls at 'Error' level. These methods may be overridden to perform more specific processing.

Member Function Documentation

virtual void PushTechnology.ClientInterface.Client.Features.Control.Topics.SubscriptionByFilterCallbackDefault.OnComplete ( int  numberSelected)
virtual

Called to indicate successful processing of the request at the server.

Parameters
numberSelectedIndicates the number of clients that satisfied the filter and which qualified for subscription/unsubscription. This could be 0 if no client sessions matched the filter.

Implements PushTechnology.ClientInterface.Client.Features.Control.Topics.ISubscriptionByFilterCallback.

virtual void PushTechnology.ClientInterface.Client.Features.Control.Topics.SubscriptionByFilterCallbackDefault.OnError ( ErrorReason  errorReason)
virtual

Notification of a contextual error related to this callback. This is analogous to an exception being raised. Situations in which

OnError is called include the session being closed, a communication timeout, or a problem with the provided parameters. No further calls will be made to this callback.

Parameters
errorReasonerrorReason a value representing the error; this can be one of constants defined in ErrorReason, or a feature-specific reason.

Implements PushTechnology.ClientInterface.Client.Callbacks.ICallback.

virtual void PushTechnology.ClientInterface.Client.Features.Control.Topics.SubscriptionByFilterCallbackDefault.OnRejected ( ICollection< IErrorReport errors)
virtual

The filter was rejected. No clients were subscribed/unsubscribed.

Parameters
errorsThe detail of why the filter was rejected.

Implements PushTechnology.ClientInterface.Client.Features.Control.Topics.ISubscriptionByFilterCallback.


The documentation for this class was generated from the following file: