Package repast.simphony.engine.watcher
Class WatchContextListener
java.lang.Object
repast.simphony.engine.watcher.WatchContextListener
- All Implemented Interfaces:
ContextListener<Object>
ContextListener that examines objects added to a Context to see if they have
watches and if so setup the notification mechanism on them.
- Author:
- Nick Collier
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
eventOccured
(ContextEvent<Object> event) Called to nofify the listener of a change to a context.
-
Constructor Details
-
WatchContextListener
-
-
Method Details
-
eventOccured
Description copied from interface:ContextListener
Called to nofify the listener of a change to a context.- Specified by:
eventOccured
in interfaceContextListener<Object>
- Parameters:
event
- The event of which to notify the listener.
-