Class LaneTest.Listener
- java.lang.Object
-
- org.opentrafficsim.road.network.lane.LaneTest.Listener
-
- All Implemented Interfaces:
Serializable
,EventListener
,EventListenerInterface
- Enclosing class:
- LaneTest
class LaneTest.Listener extends Object implements EventListenerInterface
Simple event listener that collects events in a list.
-
-
Constructor Summary
Constructors Constructor Description Listener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<EventInterface>
getEvents()
Retrieve the collected events.void
notify(EventInterface event)
-
-
-
Method Detail
-
notify
public void notify(EventInterface event) throws RemoteException
- Specified by:
notify
in interfaceEventListenerInterface
- Throws:
RemoteException
-
getEvents
public List<EventInterface> getEvents()
Retrieve the collected events.- Returns:
- List<EventInterface>; the events
-
-