Skip to main content

Module core

Module core 

Source
Expand description

The sans-io cores of the BCS connectors.

A core is a state machine without sockets, tasks or clocks. It gets inbound frames and the current time, and it pushes events and queues outbound messages. The connectors in this crate run one core each (MdCore and UdCore) inside a pump task. You can also drive a core by hand, for a test or a replay of recorded frames: the trait [brokapi_sansio::BrokerCore] is the interface.

Re-exports§

pub use md::MdCore;
pub use md::SubState;
pub use ud::UdCore;
pub use ud::UdFrame;
pub use ud::UdRestFrame;

Modules§

md
Market-data sans-io core.
ud
User-data sans-io core.