#define ONIXS_CONFLATEDTCP_API_DECL(typeKind, typeName)
#define ONIXS_CONFLATEDTCP_EXPORTED
virtual void onRequestAck(const Messaging::RequestAck206 &, Session *)
virtual void onNegotiationReject(const Messaging::NegotiationReject201 &, Session *)
virtual void onMessageSending(char *, size_t, Session *)
Called when the SBE message is about to be sent to the wire.
virtual void onError(SessionErrorReason::Enum, const std::string &, Session *)
Called when an error condition is detected.
virtual void onReceivedBytes(const char *, size_t, Session *)
Called as soon as bytes are received from the wire.
virtual void onOutboundApplicationMsg(const Messaging::SbeMessage &, Session *)
Called when the application-level message is sent to the counterparty.
virtual void onRequestReject(const Messaging::RequestReject207 &, Session *)
virtual ~SessionListener()=0
virtual void onStateChange(SessionStateId::Enum, SessionStateId::Enum, Session *)
Called when the session changes its state.
virtual void onNegotiationResponse(const Messaging::NegotiationResponse202 &, Session *)
virtual void onOutboundSessionMsg(const Messaging::SbeMessage &, Session *)
Called when the session-level message is sent to the counterparty.
virtual void onWarning(SessionWarningReason::Enum, const std::string &, Session *)
Called when a warning condition is detected.
virtual void onTerminate(const Messaging::Terminate203 &, Session *)
An Conflated TCP Session.
@ ProgramIsFinishing
The program is finishing its execution.
@ UnexpectedNextSeqNo
Received an unexpected NextSeqNo value.
@ RetransmitReject
The Retransmit Reject message is received in reply to the Retransmit Request message.
@ CannotEstablishConnection
Connection cannot be established.
@ DecodingError
Received an invalid incoming message.
@ KeepAliveIntervalLapsed
When two times the KeepAliveInterval has expired and no keep alive message is received then the sessi...
@ ExchangeInitiatedTerminateMessage
The Exchange sent the initial Terminate message.
@ ExceptionInEventHandler
Exception was thrown from user's event handler.
@ UnexpectedMessageType
First message received is not the NegotiationResponse or EstablishmentAck message.
@ LinkErrorIsDetected
Telecommunication link error is detected.
@ TerminateInReplyOnEstablish
The Terminate message is received in reply to the Establish message.
@ CannotRestoreConnection
Connection cannot be restored.
@ GeneralError
A general session-related error.
@ NegotiationReject
The Negotiation Reject message is received in reply to the Negotiation message.
@ MsgSeqNumTooLow
The incoming message has a sequence number less than expected and the PossDupFlag is not set,...
@ ResponseTimeoutException
A response has not been received during the specified timeout.
@ LinkErrorIsDetectedDuringSessionEstablishment
After sending the initial Negotiate or Establish message the telecommunication link error is detected...
@ EstablishmentReject
The Establishment Reject message is received in reply to the Establish message.
@ ExceptionDuringProcessingOfIncomingMessage
Exception during processing of an incoming message.
@ UnexpectedPreviousUuid
The value of the PreviousUUID field in the received Establishment Acknowledgment message does not mat...
@ SequenceWithKeepAliveLapsed
Received the Sequence message with the Lapsed value of the KeepAliveIntervalLapsed field.
@ SequenceGapIsDetected
Incoming message sequence gap is detected.
@ GeneralWarning
General session-related warning.
@ UnexpectedSbeSchemaVersion
Unexpected SBE Schema version is received from CME.
@ UnsupportedMessageType
Received an unsupported message type.