00001
00002
00003
00004
00005
00006
00007 #ifndef COH_MAP_LISTENER_HPP
00008 #define COH_MAP_LISTENER_HPP
00009
00010 #include "coherence/lang.ns"
00011
00012 #include "coherence/util/EventListener.hpp"
00013 #include "coherence/util/MapEvent.hpp"
00014
00015 COH_OPEN_NAMESPACE2(coherence,util)
00016
00017
00018
00019
00020
00021
00022
00023 class COH_EXPORT MapListener
00024 : public interface_spec<MapListener,
00025 implements<EventListener> >
00026 {
00027
00028
00029 public:
00030
00031
00032
00033
00034
00035 virtual void entryInserted(MapEvent::View vEvent) = 0;
00036
00037
00038
00039
00040
00041
00042 virtual void entryUpdated(MapEvent::View vEvent) = 0;
00043
00044
00045
00046
00047
00048
00049 virtual void entryDeleted(MapEvent::View vEvent) = 0;
00050 };
00051
00052 COH_CLOSE_NAMESPACE2
00053
00054 #endif // COH_MAP_LISTENER_HPP
00055