Diffusion .NET Client Library  6.1.5
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
PushTechnology.ClientInterface.Client.Features.Control.Topics.ISendToFilterContextCallback< in TC > Interface Template Reference

Callback interface for filtered send operation notifications that have an associated context. More...

Inheritance diagram for PushTechnology.ClientInterface.Client.Features.Control.Topics.ISendToFilterContextCallback< in TC >:
PushTechnology.ClientInterface.Client.Callbacks.IContextCallback< in TContext >

Public Member Functions

void OnComplete (TC context, int numberSent)
 Called to indicate successful processing of the send request at the server. More...
 
void OnRejected (TC context, ICollection< IErrorReport > errors)
 The filter was rejected. The message was not sent to any clients. 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...
 

Detailed Description

Callback interface for filtered send operation notifications that have an associated context.

Template Parameters
TCThe context object type.

Member Function Documentation

void PushTechnology.ClientInterface.Client.Features.Control.Topics.ISendToFilterContextCallback< in TC >.OnComplete ( TC  context,
int  numberSent 
)

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

Parameters
contextThe context object the application supplied when making the call; may be null.
numberSentIndicates 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.
void PushTechnology.ClientInterface.Client.Features.Control.Topics.ISendToFilterContextCallback< in TC >.OnRejected ( TC  context,
ICollection< IErrorReport errors 
)

The filter was rejected. The message was not sent to any clients.

Parameters
contextThe context object supplied when making the call.
errorsThe detail of why the filter was rejected.

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