Diffusion .NET Client Library
6.1.5
|
Callback interface for filtered subscriptions and unsubscriptions that have an associated context. More...
Public Member Functions | |
void | OnComplete (TC context, int numberSelected) |
Called to indicate successful processing of the request at the server. More... | |
void | OnRejected (TC context, ICollection< IErrorReport > errors) |
The filter was rejected. No clients were subscribed/unsubscribed. More... | |
Public Member Functions inherited from PushTechnology.ClientInterface.Client.Callbacks.IContextCallback< in TContext > | |
void | OnError (TContext context, ErrorReason errorReason) |
Notification of a contextual error related to this callback. More... | |
Callback interface for filtered subscriptions and unsubscriptions that have an associated context.
TC | The context object type. |
void PushTechnology.ClientInterface.Client.Features.Control.Topics.ISubscriptionByFilterContextCallback< in TC >.OnComplete | ( | TC | context, |
int | numberSelected | ||
) |
Called to indicate successful processing of the request at the server.
context | The context object the application supplied when making the call; may be null. |
numberSelected | Indicates 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.SubscriptionByFilterContextCallbackDefault< TC >.
void PushTechnology.ClientInterface.Client.Features.Control.Topics.ISubscriptionByFilterContextCallback< in TC >.OnRejected | ( | TC | context, |
ICollection< IErrorReport > | errors | ||
) |
The filter was rejected. No clients were subscribed/unsubscribed.
context | The context object supplied when making the call. |
errors | The detail of why the filter was rejected. |
Implemented in PushTechnology.ClientInterface.Client.Features.Control.Topics.SubscriptionByFilterContextCallbackDefault< TC >.