C - context object typepublic static class SubscriptionControl.SubscriptionByFilterContextCallback.Default<C> extends ContextCallback.Default<C> implements SubscriptionControl.SubscriptionByFilterContextCallback<C>
SubscriptionControl.SubscriptionByFilterContextCallback
.
This logs onComplete calls at 'debug' level and onRejected calls at 'error' level. This method may be overridden to perform more specific processing.
SubscriptionControl.SubscriptionByFilterContextCallback.Default<C>| Constructor and Description |
|---|
Default() |
| 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.
|
onErrorclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonErrorpublic void onComplete(C context, int numberSelected)
SubscriptionControl.SubscriptionByFilterContextCallbackonComplete in interface SubscriptionControl.SubscriptionByFilterContextCallback<C>context - the context object the application supplied when
making the call; may be nullnumberSelected - the number of sessions that satisfied the
filter and qualified for subscription/unsubscription. This
will be 0 if no sessions satisfied the filter.public void onRejected(C context, Collection<ErrorReport> errors)
SubscriptionControl.SubscriptionByFilterContextCallbackonRejected in interface SubscriptionControl.SubscriptionByFilterContextCallback<C>context - the context object supplied when making the callerrors - the detail of why the filter was rejectedCopyright © 2025 DiffusionData Limited. All rights reserved.