Publisher
trait Publisher
A publisher of a stream of simulation Events.
Value members
Abstract methods
Publishes an event into the stream.
Publishes an event into the stream.
- Value Params
- evt
The event to publish.
Performs any cleaning up required when the stream is finished.
Performs any cleaning up required when the stream is finished.
Subscribes an EventHandler to the stream so they can receive events.
Subscribes an EventHandler to the stream so they can receive events.
- Value Params
- subscriber
The EventHandler to subscribe.
Unsubscribes an EventHandler to the stream so they can stop receiving events.
Unsubscribes an EventHandler to the stream so they can stop receiving events.
- Value Params
- subscriber
The EventHandler to unsubscribe.