Oracle Coherence for C++ API
Release 3.7.1.0

E22845-01

MultiplexingMapListener Class Reference

#include <coherence/util/MultiplexingMapListener.hpp>

Inherits Object, and MapListener.

Inherited by MapTriggerListener.

List of all members.


Detailed Description

A base class that simplifies the implementation of a MapListener by multiplexing all events into a single listener method.

Author:
djl 2008.06.23
 

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.

Parameters:
 vEvent the MapEvent carrying the insert information
virtual void entryUpdated (MapEvent::View vEvent)
 Invoked when a map entry has been updated.

Parameters:
 vEvent the MapEvent carrying the update information
virtual void entryDeleted (MapEvent::View vEvent)
 Invoked when a map entry has been removed.

Parameters:
 vEvent the MapEvent carrying the delete information

Member Function Documentation

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().

Parameters:
 vEvent the MapEvent carrying the insert, update or delete information

Implemented in MapTriggerListener.


The documentation for this class was generated from the following file:
Copyright © 2000, 2011, Oracle and/or its affiliates. All rights reserved.