C - context object typepublic abstract static class ContextCallback.Default<C> extends Object implements ContextCallback<C>
This simply logs any onDiscard response at 'warn' level. The method should be overridden if anything other than a logged warning would be required in such an eventuality.
ContextCallback.Default<C>| Constructor and Description |
|---|
Default() |
| Modifier and Type | Method and Description |
|---|---|
void |
onDiscard(C context)
Notification that a call context was closed prematurely, typically due to
a timeout or the session being closed.
|
public void onDiscard(C context)
ContextCallbackonDiscard in interface ContextCallback<C>context - the context object supplied when making the call. May be
null.Copyright © 2025 DiffusionData Limited. All rights reserved.