Adrian Malacoda
|
fd1aecf4d3
|
add support for "general" config in the module loader. The "general" config is found under the "general" heading and is passed to each module constructor.
|
2017-02-26 02:44:53 -06:00 |
|
Adrian Malacoda
|
1fbba2554d
|
replace Sender with ExtSender from transformable_channels. Now we can tag each outgoing envelope with the name of its sender
|
2017-02-25 21:11:25 -06:00 |
|
Adrian Malacoda
|
4d5a412395
|
we're sending Envelope and transmitting Arc<Envelope>, since we're wrapping the Envelope in an Arc to transmit it, we (probably) don't need to wrap the Event in an Arc too
|
2017-02-25 20:33:47 -06:00 |
|
Adrian Malacoda
|
37a9645f5b
|
Simplify module trait by combining produce/consume event methods into a single run method that runs in the module's own thread and can produce and/or consume events. Introduce an Envelope struct that encapsulates event + to/from so we can (eventually) tag every event and also limit where events are sent (e.g. you can have a specific module configured to talk or listen only to a certain other module).
|
2017-02-25 20:17:46 -06:00 |
|
Adrian Malacoda
|
0f945ec604
|
create a dedicated Message struct and implement reply(&str) on there, since it seems to be a commonly used thing. Begin implementing helpers for command parsing.
|
2017-02-19 05:37:56 -06:00 |
|
Adrian Malacoda
|
b9d5b7916c
|
cleanup
|
2017-02-19 05:06:55 -06:00 |
|
Adrian Malacoda
|
c5a88b8405
|
initial pvn module implementation
|
2017-02-19 04:49:06 -06:00 |
|