Pure state transitions for the FIX session protocol.
The caller must execute persistence actions before later send or delivery actions and must not install the returned state if persistence fails.
Summary
Types
@type action() :: {:persist_inbound, pos_integer()} | {:send_new, FIX.Message.t()} | {:send_replay, FIX.Message.t()} | {:deliver, FIX.Message.t()} | {:disconnect, term()}
Functions
@spec handle_message(FIX.Message.t(), FIX.Session.State.t()) :: {FIX.Session.State.t(), [action()]}