Package org.djutils.event
Class EventUtilTest.TestEventListener
- java.lang.Object
-
- org.djutils.event.EventUtilTest.TestEventListener
-
- All Implemented Interfaces:
Serializable
,EventListener
,EventListenerInterface
- Enclosing class:
- EventUtilTest
protected static class EventUtilTest.TestEventListener extends Object implements EventListenerInterface
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
TestEventListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EventInterface
getReceivedEvent()
void
notify(EventInterface event)
void
setExpectingNotification(boolean expectingNotification)
-
-
-
Method Detail
-
setExpectingNotification
public void setExpectingNotification(boolean expectingNotification)
- Parameters:
expectingNotification
- set expectingNotification
-
getReceivedEvent
public EventInterface getReceivedEvent()
- Returns:
- receivedEvent
-
notify
public void notify(EventInterface event) throws RemoteException
- Specified by:
notify
in interfaceEventListenerInterface
- Throws:
RemoteException
-
-