T - the object typejava.util.EventListener, OortObject.Listener<T>public static class OortObject.Listener.Adapter<T> extends java.lang.Object implements OortObject.Listener<T>
OortObject.Listener.OortObject.Listener.Adapter<T>| Constructor | Description |
|---|---|
Adapter() |
| Modifier and Type | Method | 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–2017 The CometD Project. All rights reserved.