30#pragma warning(disable : 4275)
31#pragma warning(disable : 4251)
80 std::vector<
unsigned char> buffer_;
83template <typename MessageType>
137 return actualSeqNum_;
142 return expectedSeqNum_;
165 , timeout_(timeoutMilliseconds)
#define ONIXS_ILINK3_EXPORTED
#define ONIXS_ILINK3_DEFAULT
#define ONIXS_ILINK3_NOTHROW
#define ONIXS_ILINK3_OVERRIDE
std::string rejectReason() const
BusinessRejectReason::Enum errorCodes() const
BusinessRejectInReplyOnEstablishException(Messaging::BusinessReject521 reject)
~BusinessRejectInReplyOnEstablishException() noexcept override=default
~CannotEstablishLinkException() noexcept override=default
CannotEstablishLinkException(int errCode, const std::string &rejectReason)
Constructor.
int errCode() const noexcept
~EstablishmentRejectException() noexcept override=default
std::string rejectReason() const
EstablishmentRejectErrorCode::Enum errorCodes() const
EstablishmentRejectException(Messaging::EstablishmentReject505 reject)
LinkErrorException(const std::string &rejectReason)
~LinkErrorException() noexcept override=default
std::string rejectReason() const
NegotiationRejectErrorCode::Enum errorCodes() const
~NegotiationRejectException() noexcept override=default
NegotiationRejectException(Messaging::NegotiationReject502 reject)
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
TerminateErrorCode::Enum errorCodes() const
std::string terminateReason() const
TerminateInReplyOnEstablishException(Messaging::Terminate507 terminate)
~TerminateInReplyOnEstablishException() noexcept override=default
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
UnexpectedSequenceNumberException(Messaging::SbeMessage receivedMessage, const std::string &rejectReason, SeqNumber actualSeqNum, SeqNumber expectedSeqNum, Messaging::UInt64 uuid)
~UnexpectedSequenceNumberException() noexcept override=default
SeqNumber expectedSeqNum() const noexcept
Messaging::UInt64 uuid() const noexcept
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
Code to identify reason for a Business Message Reject message.
The Establishment Reject message error codes.
The Negotiation Reject message error codes.
The Terminate message error codes.