Interface ISubscriptionByFilterCallback
Callback interface for filtered subscriptions and unsubscriptions.
Inherited Members
Namespace: PushTechnology.ClientInterface.Client.Features.Control.Topics
Assembly: Diffusion.Client.dll
Syntax
public interface ISubscriptionByFilterCallback : ICallback
Remarks
> [!CAUTION] > Deprecated since 6.7. > Methods that use callbacks are deprecated and will be removed in a future release. Use a Task instead.
Methods
OnComplete(Int32)
Called to indicate successful processing of the request at the server.
Declaration
void OnComplete(int numberSelected)
Parameters
Type | Name | Description |
---|---|---|
Int32 | numberSelected | Indicates the number of sessions that satisfied the filter and which qualified for subscription/unsubscription. This could be 0 if no sessions matched the filter. |
OnRejected(ICollection<IErrorReport>)
The filter was rejected. No sessions were subscribed/unsubscribed.
Declaration
void OnRejected(ICollection<IErrorReport> errors)
Parameters
Type | Name | Description |
---|---|---|
ICollection<IErrorReport> | errors | The detail of why the filter was rejected. |