Diffusion .NET API  5.9.24
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties Events Pages
PushTechnology.ClientInterface.Client.Features.Control.Topics.ISubscriptionByFilterCallback Interface Reference

Callback interface for filtered subscriptions and unsubscriptions. More...

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

Public Member Functions

void OnComplete (int numberSelected)
 Called to indicate successful processing of the request at the server. More...
 
void OnRejected (ICollection< IErrorReport > errors)
 The filter was rejected. No clients were subscribed/unsubscribed. More...
 
- Public Member Functions inherited from PushTechnology.ClientInterface.Client.Callbacks.ICallback
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...
 

Detailed Description

Callback interface for filtered subscriptions and unsubscriptions.

Member Function Documentation

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

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.

Implemented in PushTechnology.ClientInterface.Client.Features.Control.Topics.SubscriptionByFilterCallbackDefault.

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

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

Parameters
errorsThe detail of why the filter was rejected.

Implemented in PushTechnology.ClientInterface.Client.Features.Control.Topics.SubscriptionByFilterCallbackDefault.


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