125 const std::string TimeStr = timestamp_.toString();
126 std::string str =
"ReceivedDataTimestamp [source = ";
131 str +=
"Software, time = " + TimeStr;
133 str +=
"Hardware, time = " + TimeStr;
158 virtual void onInboundApplicationMsg(
Message & message,
Session * session) = 0;
The FIX Session - a bi-directional stream of ordered messages between two parties within a continuous...
virtual void onStateChange(SessionState::Enum, SessionState::Enum, Session *)
Is called when the session changes its state.
virtual void onWarning(WarningReason::Enum, const std::string &, Session *)
Is called when a warning condition is detected.
virtual void onResendingStarted(SequenceNumber, SequenceNumber, Session *)
Is called when the ResendRequest<2> message is received and the session is about to start to resend m...
virtual void onInboundApplicationMsg(FlatMessage &, Session *)
Is called when the message mode is FlatMessage and the application-level message is received from the...
virtual void onReceivedBytes(const char *, size_t, const ReceivedDataTimestamp &, Session *)
Is called as soon as bytes are received from the wire.
The sequence gap in the incoming messages is detected.
The session's Listener.
#define ONIXS_FIXENGINE_DEFAULT
#define ONIXS_FIXENGINE_API
The incoming message has a sequence number less than expected and the PossDupFlag is not set...
Provides an access to FIX fields from a flat (tag=value) message.
An exception was thrown during processing of the incoming message.
The first message received is not a Logon message.
virtual void onInboundSessionMsg(Message &, Session *)
Is called when the message mode is Message and the session-level message is received from the counter...
virtual void onError(ErrorReason::Enum, const std::string &, Session *)
Is called when an error condition is detected.
virtual bool onResendRequest(FlatMessage &, Session *)
Is called when the message mode is FlatMessage and the sent application-level message is about to be ...
virtual bool onResendRequest(Message &, Session *)
Is called when the message mode is Message and the sent application-level message is about to be re-s...
std::string toString() const
Returns a human-readable presentation.
ReceivedDataTimestamp(const Timestamp ×tamp, Source source)
Timestamp provided by the network card.
ONIXS_FIXENGINE_API_DECL(class, IEngineListener)
A garbled message is received.
Timestamp provided by the OS kernel / user-level network stack.
Represents a timestamp of the received data.
The general system-related error.
virtual void onOutboundApplicationMsg(Message &, Session *)
Is called when the application-level message is sent to the counterparty.
An exception was thrown in the client event handler implementation.
The general system-related warning.
virtual void onOutboundSessionMsg(Message &, Session *)
Is called when the session-level message is sent to the counterparty.
The FIX Connection cannot be restored.
unsigned int SequenceNumber
Alias for the sequence number.
virtual void onInboundSessionMsg(FlatMessage &, Session *)
Is called when the message mode is FlatMessage and the session-level message is received from the cou...
const Timestamp & timestamp() const
Returns the received data timestamp.
The ResendTimeout is elapsed.
Encapsulates operations over a FIX Message.
The FIX message received is not valid.
The timestamps related functionality.
Socket options cannot be set.
The telecommunication link error is detected.
Source source() const
Returns the source of the received data timestamp.
virtual void onResendingFinished(SequenceNumber, SequenceNumber, Session *)
Is called when the resending process is completed.
virtual void onMessageSending(SequenceNumber, char *, size_t, Session *)
Is called just before the FIX message is sent to the wire.