OnixS C++ B3 BOE Binary Order Entry  1.2.0
API Documentation
SessionWarningReason Struct Reference

#include <OnixS/B3/BOE/SessionListener.h>

Public Types

enum  Enum {
  GeneralWarning, SequenceGapIsDetected, UnexpectedSbeSchemaVersion, UnexpectedNextSeqNo,
  UnsupportedMessageType, MsgSeqNumOutOfRange, UnexpectedSessionId, ReceiveTimeoutIsDetected,
  ExceptionInEventHandler, PluggableSessionStorageException, RestoreSessionStateWarning, AsyncFileBasedStorageQueueOverflow,
  LicenseExpiration, RetransmitReject, LinkErrorIsDetected, LinkErrorIsDetectedDuringSessionEstablishment,
  CannotSetSocketOption, CannotBackup, CannotRestoreSessionState
}
 

Static Public Member Functions

static const char * toString (Enum type) noexcept
 

Detailed Description

Definition at line 37 of file SessionListener.h.

Member Enumeration Documentation

enum Enum
Enumerator
GeneralWarning 

General session-related warning.

SequenceGapIsDetected 

Incoming message sequence gap is detected.

UnexpectedSbeSchemaVersion 

Unexpected SBE Schema version is received from B3.

UnexpectedNextSeqNo 

Received an unexpected NextSeqNo value.

UnsupportedMessageType 

Received an unsupported message type.

MsgSeqNumOutOfRange 

The incoming message has a sequence number is out of the expected range and the PossRetransFlag is set, it indicates a warning.

It is strongly recommended that the session be terminated and manual intervention be initiated.

UnexpectedSessionId 

Received a message with an unexpected sessionId.

ReceiveTimeoutIsDetected 

Raised when the KeepAliveInterval has expired and no keep alive message is received.

ExceptionInEventHandler 

Exception was thrown from user's event handler.

PluggableSessionStorageException 

An exception is thrown from the user-provided Session Storage.

RestoreSessionStateWarning 

Session state cannot be restored.

AsyncFileBasedStorageQueueOverflow 

Raised when the AsyncFileBasedStorage queue exceeded SessionSettings::asyncFileBasedStorageQueueMaxSize

LicenseExpiration 

Raised when the license will expire in less than SessionSettings::licenseAlertingDaysBeforeExpiration

RetransmitReject 

The Retransmit Reject message is received in reply to the Retransmit Request message.

LinkErrorIsDetected 

Telecommunication link error is detected.

LinkErrorIsDetectedDuringSessionEstablishment 

After sending the initial Negotiate or Establish message the telecommunication link error is detected.

CannotSetSocketOption 

Error setting socket option.

CannotBackup 

Cannot backup the file.

CannotRestoreSessionState 

Session state cannot be restored.

Definition at line 39 of file SessionListener.h.

Member Function Documentation

static const char* toString ( Enum  type)
staticnoexcept

The documentation for this struct was generated from the following file: