C
- the context object typepublic static interface SubscriptionControl.SubscriptionByFilterContextCallback<C> extends ContextCallback<C>
Modifier and Type | Interface and Description |
---|---|
static class |
SubscriptionControl.SubscriptionByFilterContextCallback.Default<C>
Default implementation of
SubscriptionControl.SubscriptionByFilterContextCallback
. |
Modifier and Type | Method and Description |
---|---|
void |
onComplete(C context,
int numberSelected)
Called to indicate successful processing of the request at the
server.
|
void |
onRejected(C context,
Collection<ErrorReport> errors)
The filter was rejected.
|
onError
void onComplete(C context, int numberSelected)
context
- the context object the application supplied when
making the call; may be null
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(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.