Package org.cometd.oort
Interface OortList.ElementListener<E>
- Type Parameters:
E
- the element type
- All Superinterfaces:
EventListener
Listener for element events that update the entity list, either locally or remotely.
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
Callback method invoked when elements are added to the entity list.default void
Callback method invoked when elements are removed from the entity list.
-
Method Details
-
onAdded
Callback method invoked when elements are added to the entity list.- Parameters:
info
- theOortObject.Info
that was changed by the additionelements
- the elements added
-
onRemoved
Callback method invoked when elements are removed from the entity list.- Parameters:
info
- theOortObject.Info
that was changed by the removalelements
- the elements removed
-