C
- the context object typepublic static interface MessagingControl.SendToFilterContextCallback<C> extends ContextCallback<C>
ContextCallback.Default<C>
Modifier and Type | Method and Description |
---|---|
void |
onComplete(C context,
int numberSent)
Called to indicate successful processing of the send request at the
server.
|
void |
onRejected(C context,
Collection<ErrorReport> errors)
The filter was rejected.
|
onError
void onComplete(C context, int numberSent)
context
- the context object the application supplied when
making the call; may be null
numberSent
- indicates the number of clients that satisfied the
filter and to which the message was sent. This could be 0 if
no client sessions matched the filter.void onRejected(C context, Collection<ErrorReport> errors)
context
- the context object supplied when making the callerrors
- the detail of why the filter was rejectedCopyright © 2016 Push Technology Ltd. All Rights Reserved.