pub enum FixEvent<'a> {
Created(&'a SessionId),
Logon(&'a SessionId, Sender),
Logout(&'a SessionId, DisconnectReason),
AppMsgIn(Box<FixtMessage>, InputResponder<'a>),
AdmMsgIn(Box<FixtMessage>, InputResponder<'a>),
AppMsgOut(&'a mut FixtMessage, &'a mut Responder),
AdmMsgOut(&'a mut FixtMessage),
DeserializeError(&'a SessionId, &'a DeserializeError),
}Expand description
FIX protolol events.
Variants§
Created(&'a SessionId)
Session created.
Logon(&'a SessionId, Sender)
Successfull Logon messages exchange.
Use Sender to send messages to connected peer.
Logout(&'a SessionId, DisconnectReason)
Session disconnected.
AppMsgIn(Box<FixtMessage>, InputResponder<'a>)
New application message received.
Use InputResponder to reject the message or to force logut or
disconnection.
AdmMsgIn(Box<FixtMessage>, InputResponder<'a>)
New administration message received.
Use InputResponder to reject the message or to force logut or
disconnection.
AppMsgOut(&'a mut FixtMessage, &'a mut Responder)
Application message is ready to be send.
Use Responder to change the message to GapFill or to discard it.
This event may happen after session disconnection when output queue still has messages to send. In such case all messages will be stored and will be available thorough ResendRequest<2>.
AdmMsgOut(&'a mut FixtMessage)
Administration message is ready to be send.
Use Responder to change the message to GapFill or to discard it.
This event may happen after session disconnection when output queue still has messages to send. In such case all messages will be stored and will be available thorough ResendRequest<2>.
DeserializeError(&'a SessionId, &'a DeserializeError)
Failed to deserialize input message.