Class Subscription
- java.lang.Object
-
- org.opentrafficsim.sim0mq.publisher.Subscription
-
- All Implemented Interfaces:
Serializable
,EventListener
,EventListenerInterface
class Subscription extends Object implements EventListenerInterface
Handles one subscription.
-
-
Constructor Summary
Constructors Constructor Description Subscription(ReturnWrapper returnWrapper)
Construct a new Subscription.
-
-
-
Constructor Detail
-
Subscription
Subscription(ReturnWrapper returnWrapper)
Construct a new Subscription.- Parameters:
returnWrapper
- ReturnWrapper; envelope generator for the messages
-
-
Method Detail
-
notify
public void notify(EventInterface event) throws RemoteException
- Specified by:
notify
in interfaceEventListenerInterface
- Throws:
RemoteException
-
-