T - the object typepublic static class OortObject.Listener.Adapter<T> extends java.lang.Object implements OortObject.Listener<T>
OortObject.Listener.OortObject.Listener.Adapter<T>| Constructor and Description |
|---|
Adapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
onRemoved(OortObject.Info<T> info)
Callback method invoked when the object value is removed, for example
because the correspondent node has been shut down or crashed.
|
void |
onUpdated(OortObject.Info<T> oldInfo,
OortObject.Info<T> newInfo)
Callback method invoked when the object value is updated.
|
public void onUpdated(OortObject.Info<T> oldInfo, OortObject.Info<T> newInfo)
OortObject.ListeneronUpdated in interface OortObject.Listener<T>oldInfo - the OortObject.Info before the change, may be nullnewInfo - the OortObject.Info after the changepublic void onRemoved(OortObject.Info<T> info)
OortObject.ListeneronRemoved in interface OortObject.Listener<T>info - the OortObject.Info before the removalCopyright © 2008–2019 The CometD Project. All rights reserved.