#include <coherence/util/MultiplexingMapListener.hpp>
Inherits Object, and MapListener.
Inherited by CachingMap::PrimingListener, CachingMap::SimpleListener, MapListenerSupport::WrapperSynchronousListener, and MapTriggerListener.
Public Types | ||||
typedef spec::Handle | Handle | |||
MultiplexingMapListener Handle definition. | ||||
typedef spec::View | View | |||
MultiplexingMapListener View definition. | ||||
typedef spec::Holder | Holder | |||
MultiplexingMapListener Holder definition. | ||||
Public Member Functions | ||||
virtual void | onMapEvent (MapEvent::View vEvent)=0 | |||
Invoked when a map entry has been inserted, updated or deleted. | ||||
virtual void | entryInserted (MapEvent::View vEvent) | |||
Invoked when a map entry has been inserted.
| ||||
virtual void | entryUpdated (MapEvent::View vEvent) | |||
Invoked when a map entry has been updated.
| ||||
virtual void | entryDeleted (MapEvent::View vEvent) | |||
Invoked when a map entry has been removed.
|
virtual void onMapEvent | ( | MapEvent::View | vEvent | ) | [pure virtual] |
Invoked when a map entry has been inserted, updated or deleted.
To determine what action has occurred, use MapEvent::getId().
vEvent | the MapEvent carrying the insert, update or delete information |
Implemented in MapListenerSupport::WrapperSynchronousListener, and MapTriggerListener.