public static interface SubscriptionControl.SubscriptionByFilterCallback extends Callback
Modifier and Type | Interface and Description |
---|---|
static class |
SubscriptionControl.SubscriptionByFilterCallback.Default
Default implementation of
SubscriptionControl.SubscriptionByFilterCallback . |
Modifier and Type | Method and Description |
---|---|
void |
onComplete(int numberSelected)
Called to indicate successful processing of the request at the
server.
|
void |
onRejected(Collection<ErrorReport> errors)
The filter was rejected.
|
void onComplete(int numberSelected)
numberSelected
- indicates the number of clients that satisfied
the filter and which qualified for
subscription/unsubscription. 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.