1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
//! Events provide the mechansim by which plugins communicate with each other. Events correspond to
//! statically typed messages defined by the application.
use crateEngineError;
use Socket;
use Error;
/// An event type in the application. Event types have a name, which be used to
/// specify subscriptions by components (plugins) in applications.
/// They also have a filter, which is a byte array that appears at the beginning
/// of every message of the type. The filter must uniquely determine messages to b
/// of said type.
/// Public API for defining events in an application.
/// Events are typed messages that can be sent over a ZMQ socket. Event are equipped
/// with functions to