Class OortList.DeltaListener<E>

java.lang.Object
org.cometd.oort.OortList.DeltaListener<E>
Type Parameters:
E - the element type
All Implemented Interfaces:
EventListener, OortObject.Listener<List<E>>
Enclosing class:
OortList<E>

public static class OortList.DeltaListener<E> extends Object implements OortObject.Listener<List<E>>

An implementation of OortObject.Listener that converts whole list events into OortList.ElementListener events.

For example, if an entity list:

 [A, B]
 

is replaced by a list:

 [A, C, D]
 

then this listener generates two "add" events for C and D and one "remove" event for B.