DiffusionTM Java API 6.5.3
C- context object type
public interface ContextCallback<C>
This interface and its extensions are alternatives to the
interface hierarchy that allow the application to associate an arbitrary
context object with each call. Any suitable application object can be
provided as the context. It will be passed on to the corresponding callback
methods, allowing requests and responses to be correlated. The context object
is optional (it may be
|Modifier and Type||Interface and Description|
Abstract default callback.
void onDiscard(C context)
context- the context object supplied when making the call. May be
Copyright © 2020 Push Technology Ltd. All Rights Reserved.