Interface ISendToFilterCallback
The callback interface for filtered send operation notifications.
Inherited Members
Namespace: PushTechnology.ClientInterface.Client.Features.Control.Topics
Assembly: Diffusion.Client.dll
Syntax
public interface ISendToFilterCallback : ICallback
Remarks
Deprecated: This is only used within one-way messaging, which is deprecated from this release. This interface will be removed in a future release.
Methods
OnComplete(Int32)
Called to indicate successful processing of the request at the server.
Declaration
void OnComplete(int numberSent)
Parameters
Type | Name | Description |
---|---|---|
Int32 | numberSent | Indicates the number of clients that satisfied the filter and to which the message was sent. This could be zero if no client sessions matched the filter. |
OnRejected(ICollection<IErrorReport>)
The filter was rejected. The message was not sent to any clients.
Declaration
void OnRejected(ICollection<IErrorReport> errors)
Parameters
Type | Name | Description |
---|---|---|
ICollection<IErrorReport> | errors | The detail of why the filter was rejected. |