T
- the object typepublic static class OortObject.Listener.Adapter<T> extends 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.Listener
onUpdated
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.Listener
onRemoved
in interface OortObject.Listener<T>
info
- the OortObject.Info
before the removalCopyright © 2008–2016 The CometD Project. All rights reserved.