Package org.djutils.event
Class EventListenerMapTest.TestEventListener
- java.lang.Object
-
- org.djutils.event.EventListenerMapTest.TestEventListener
-
- All Implemented Interfaces:
Serializable
,EventListener
,EventListenerInterface
- Enclosing class:
- EventListenerMapTest
protected static class EventListenerMapTest.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
setExpectedObject(Object expectedObject)
void
setExpectingNotification(boolean expectingNotification)
-
-
-
Method Detail
-
setExpectingNotification
public void setExpectingNotification(boolean expectingNotification)
- Parameters:
expectingNotification
- set expectingNotification
-
setExpectedObject
public void setExpectedObject(Object expectedObject)
- Parameters:
expectedObject
- set expectedObject
-
getReceivedEvent
public EventInterface getReceivedEvent()
- Returns:
- receivedEvent
-
notify
public void notify(EventInterface event) throws RemoteException
- Specified by:
notify
in interfaceEventListenerInterface
- Throws:
RemoteException
-
-