30#pragma warning(disable : 4275)
31#pragma warning(disable : 4251)
51 const
char*
what() const noexcept override;
80 std::vector<
unsigned char> buffer_;
83template <typename MessageType>
137 return actualSeqNum_;
142 return expectedSeqNum_;
165 , timeout_(timeoutMilliseconds)
#define ONIXS_ILINK3_EXPORTED
std::string rejectReason() const
BusinessRejectReason::Enum errorCodes() const
~BusinessRejectInReplyOnEstablishException() override=default
BusinessRejectInReplyOnEstablishException(Messaging::BusinessReject521 reject)
~CannotEstablishLinkException() override=default
CannotEstablishLinkException(int errCode, const std::string &rejectReason)
Constructor.
int errCode() const noexcept
std::string rejectReason() const
EstablishmentRejectErrorCode::Enum errorCodes() const
~EstablishmentRejectException() override=default
EstablishmentRejectException(Messaging::EstablishmentReject505 reject)
LinkErrorException(const std::string &rejectReason)
~LinkErrorException() override=default
std::string rejectReason() const
NegotiationRejectErrorCode::Enum errorCodes() const
~NegotiationRejectException() override=default
NegotiationRejectException(Messaging::NegotiationReject502 reject)
ProgramIsFinishingException()
~ProgramIsFinishingException() override=default
ResponseTimeoutException(const std::string &rejectReason, int timeoutMilliseconds)
~ResponseTimeoutException() 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
TerminateErrorCode::Enum errorCodes() const
std::string terminateReason() const
TerminateInReplyOnEstablishException(Messaging::Terminate507 terminate)
~TerminateInReplyOnEstablishException() override=default
TypedSbeMessageAttachedExceptionBase(SessionErrorReason::Enum reason, const std::string &message, Messaging::SbeMessage sbeMessage)
MessageType receivedMessage() const
UnexpectedMessageTypeException(Messaging::SbeMessage message)
~UnexpectedMessageTypeException() override=default
Messaging::MessageTemplateId templateId() const
UnexpectedSequenceNumberException(Messaging::SbeMessage receivedMessage, const std::string &rejectReason, SeqNumber actualSeqNum, SeqNumber expectedSeqNum, Messaging::UInt64 uuid)
SeqNumber expectedSeqNum() const noexcept
Messaging::UInt64 uuid() const noexcept
SeqNumber actualSeqNum() const noexcept
~UnexpectedSequenceNumberException() override=default
Message typify(const SbeMessage &message)
Casts SBE-encoded message to a given type.
MessageHeader::TemplateId MessageTemplateId
Message type (template) identification.
Messaging::UInt32 SeqNumber