30#pragma warning(disable : 4275)
31#pragma warning(disable : 4251)
80 std::vector<
unsigned char> buffer_;
137 return actualSeqNum_;
142 return expectedSeqNum_;
147 return sessionVerId_;
153 Messaging::UInt64 sessionVerId_;
165 , timeout_(timeoutMilliseconds)
#define ONIXS_B3_BOE_DEFAULT
#define ONIXS_B3_BOE_OVERRIDE
#define ONIXS_B3_BOE_EXPORTED
#define ONIXS_B3_BOE_NOTHROW
Messaging::RejReason errorCodes() const
~BusinessRejectInReplyOnEstablishException() noexcept override=default
BusinessRejectInReplyOnEstablishException(Messaging::BusinessMessageReject206 reject)
~CannotEstablishLinkException() noexcept override=default
CannotEstablishLinkException(int errCode, const std::string &rejectReason)
int errCode() const noexcept
~EstablishRejectException() noexcept override=default
EstablishRejectException(Messaging::EstablishReject6 reject)
Messaging::EstablishRejectCode::Enum errorCodes() const
LinkErrorException(const std::string &rejectReason)
~LinkErrorException() noexcept override=default
Messaging::NegotiationRejectCode::Enum errorCodes() const
NegotiateRejectException(Messaging::NegotiateReject3 reject)
~NegotiateRejectException() noexcept override=default
ProgramIsFinishingException()
~ProgramIsFinishingException() noexcept override=default
ResponseTimeoutException(const std::string &rejectReason, int timeoutMilliseconds)
~ResponseTimeoutException() noexcept override=default
int timeout() const noexcept
SbeMessageAttachedExceptionBase(SessionErrorReason::Enum reason, const std::string &message, Messaging::SbeMessage sbeMessage)
Messaging::SbeMessage receivedMessage() const
~SbeMessageAttachedExceptionBase() noexcept override=0
SessionException(SessionErrorReason::Enum reason, const std::string &message, const std::exception &cause)
SessionErrorReason::Enum reason() const noexcept
const std::string & toString() const noexcept
SessionException(SessionErrorReason::Enum reason, const std::string &message)
const char * what() const noexcept override
~SessionException() noexcept override=default
TerminateInReplyOnEstablishException(Messaging::Terminate7 terminate)
~TerminateInReplyOnEstablishException() noexcept override=default
Messaging::TerminationCode::Enum errorCodes() const
TypedSbeMessageAttachedExceptionBase(SessionErrorReason::Enum reason, const std::string &message, Messaging::SbeMessage sbeMessage)
MessageType receivedMessage() const
~UnexpectedMessageTypeException() noexcept override=default
UnexpectedMessageTypeException(Messaging::SbeMessage message)
Messaging::MessageTemplateId templateId() const
Messaging::UInt64 sessionVerId() const noexcept
~UnexpectedSequenceNumberException() noexcept override=default
SeqNumber expectedSeqNum() const noexcept
UnexpectedSequenceNumberException(Messaging::SbeMessage receivedMessage, const std::string &rejectReason, SeqNumber actualSeqNum, SeqNumber expectedSeqNum, Messaging::UInt64 sessionVerId)
SeqNumber actualSeqNum() const noexcept
Message typify(const SbeMessage &message)
Casts SBE-encoded message to a given type.
MessageHeader::TemplateId MessageTemplateId
Message type (template) identification.
Messaging::UInt32 SeqNumber
BusinessMessageReject message can reject an application-level message which fulfills session level ru...
EstablishmentReject message is sent when an Establish message is rejected by B3 informing the reason ...
NegotiateReject message is sent when B3 rejects a Negotiate message sent by the client.
Terminate message is sent to indicate that the sender is going to disconnect the TCP socket connectio...