Class Subscription

java.lang.Object
org.opentrafficsim.sim0mq.publisher.Subscription
All Implemented Interfaces:
Serializable, Remote, EventListener, org.djutils.event.EventListener

class Subscription extends Object implements org.djutils.event.EventListener
Handles one subscription.
  • Constructor Details

    • Subscription

      Subscription(ReturnWrapper returnWrapper)
      Construct a new Subscription.
      Parameters:
      returnWrapper - ReturnWrapper; envelope generator for the messages
  • Method Details

    • notify

      public void notify(org.djutils.event.Event event) throws RemoteException
      Specified by:
      notify in interface org.djutils.event.EventListener
      Throws:
      RemoteException