Package org.djutils.event
Class EventPubSubTest.TestTimedEventListener<C extends Comparable<C> & Serializable>
- java.lang.Object
-
- org.djutils.event.EventPubSubTest.TestTimedEventListener<C>
-
- Type Parameters:
C
- the comparable time type
- All Implemented Interfaces:
Serializable
,EventListener
,EventListenerInterface
- Enclosing class:
- EventPubSubTest
protected static class EventPubSubTest.TestTimedEventListener<C extends Comparable<C> & Serializable> extends Object implements EventListenerInterface
TimedEventListener.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
TestTimedEventListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TimedEvent<C>
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 TimedEvent<C> getReceivedEvent()
- Returns:
- receivedEvent
-
notify
public void notify(EventInterface event) throws RemoteException
- Specified by:
notify
in interfaceEventListenerInterface
- Throws:
RemoteException
-
-