#include <coherence/util/MapListenerSupport.hpp>
Inherits MultiplexingMapListener, and MapListenerSupport::SynchronousListener.
Inherited by MapListenerSupport::WrapperPrimingListener.
Public Types | ||||
typedef spec::Handle | Handle | |||
WrapperSynchronousListener Handle definition. | ||||
typedef spec::View | View | |||
WrapperSynchronousListener View definition. | ||||
typedef spec::Holder | Holder | |||
WrapperSynchronousListener Holder definition. | ||||
Public Member Functions | ||||
virtual MapListener::Handle | getMapListener () | |||
Get the underlying MapListener. | ||||
virtual void | onMapEvent (MapEvent::View vEvent) | |||
Invoked when a map entry has been inserted, updated or deleted. To determine what action has occurred, use MapEvent::getId().
| ||||
virtual size32_t | hashCode () const | |||
Return a hash code value for the Object. This method is supported for the benefit of hash-based containers.
The general contract of
The default implementation is identity based.
| ||||
virtual bool | equals (Object::View v) const | |||
Protected Member Functions | ||||
WrapperSynchronousListener (MapListener::Handle hListener) | ||||
Create a new WrapperSynchronousListener. | ||||
Protected Attributes | ||||
MemberHandle < MapListener > | m_hListener | |||
Wrapped MapListener. |
WrapperSynchronousListener | ( | MapListener::Handle | hListener | ) | [protected] |
Create a new WrapperSynchronousListener.
hListener | the listener to be wrapped |
virtual MapListener::Handle getMapListener | ( | ) | [virtual] |