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, org.djutils.event.EventListenerInterface
Enclosing class:
EventPubSubTest

protected static class EventPubSubTest.TestTimedEventListener<C extends Comparable<C> & Serializable>
extends Object
implements org.djutils.event.EventListenerInterface
TimedEventListener.
See Also:
Serialized Form
  • Constructor Details

  • Method Details

    • setExpectingNotification

      public void setExpectingNotification​(boolean expectingNotification)
      Parameters:
      expectingNotification - set expectingNotification
    • setExpectedObject

      public void setExpectedObject​(Object expectedObject)
      Parameters:
      expectedObject - set expectedObject
    • getReceivedEvent

      public org.djutils.event.TimedEvent<C> getReceivedEvent()
      Returns:
      receivedEvent
    • notify

      public void notify​(org.djutils.event.EventInterface event) throws RemoteException
      Specified by:
      notify in interface org.djutils.event.EventListenerInterface
      Throws:
      RemoteException