[][src]Module xaynet_server::state_machine::events

This module provides the StateMachine, Events, EventSubscriber and EventPublisher types.

Structs

Event

An event emitted by the coordinator.

EventBroadcaster

A channel to send Event<E> to all the EventListener<E>.

EventListener

A listener for coordinator events. It can be used to either retrieve the latest Event<E> emitted by the coordinator (with EventListener::get_latest) or to wait for events (since EventListener<E> implements Stream<Item=Event<E>.

EventPublisher

A convenience type to emit any coordinator event.

EventSubscriber

The EventSubscriber hands out EventListeners for any coordinator event.

Enums

DictionaryUpdate

Dictionary update event.

ModelUpdate

Global model update event.