cz.cuni.amis.pogamut.base.communication.worldview.event
Interface IWorldEventListener<EVENT extends IWorldEvent>

Package class diagram package IWorldEventListener
Type Parameters:
EVENT -
All Superinterfaces:
EventListener, cz.cuni.amis.utils.listener.IListener<EVENT>
All Known Subinterfaces:
IWorldObjectEventListener<OBJECT,EVENT>, IWorldObjectListener<OBJECT>
All Known Implementing Classes:
Vision

public interface IWorldEventListener<EVENT extends IWorldEvent>
extends cz.cuni.amis.utils.listener.IListener<EVENT>

Abstract listener that listens for world events.

Every listener instance is defining also an event which it wants to listen on by it's parameter type "Event". That's why there is a private "dummy" method in the ancestor class that returns it's type so we can (by Java Reflection API) get the class of the event where to hook the listener to.

Author:
Jimmy

Nested Class Summary
 
Nested classes/interfaces inherited from interface cz.cuni.amis.utils.listener.IListener
cz.cuni.amis.utils.listener.IListener.Notifier<LISTENER extends cz.cuni.amis.utils.listener.IListener>
 
Method Summary
 
Methods inherited from interface cz.cuni.amis.utils.listener.IListener
notify
 



Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.