Class EventPubSubTest.TestEventListener

java.lang.Object
org.djutils.event.EventPubSubTest.TestEventListener
All Implemented Interfaces:
Serializable, EventListener, org.djutils.event.EventListenerInterface
Enclosing class:
EventPubSubTest

protected static class EventPubSubTest.TestEventListener
extends Object
implements org.djutils.event.EventListenerInterface
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.EventInterface 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