public static interface MessagingControl.SendToFilterCallback extends Callback
Callback.Default
Modifier and Type | Method and Description |
---|---|
void |
onComplete(int numberSent)
Called to indicate successful processing of the request at the
server.
|
void |
onRejected(Collection<ErrorReport> errors)
The filter was rejected.
|
void onComplete(int numberSent)
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(Collection<ErrorReport> errors)
errors
- the detail of why the filter was rejectedCopyright © 2016 Push Technology Ltd. All Rights Reserved.