OnixS C++ CME iLink 3 Binary Order Entry Handler  1.18.0
API Documentation
SessionErrorReason Struct Reference

#include <OnixS/CME/iLink3/SessionListener.h>

Public Types

enum  Enum {
  InternalError, GeneralError, UnexpectedMessageType, NegotiationReject,
  EstablishmentReject, TerminateInReplyOnEstablish, MsgSeqNumTooLow, CannotRestoreConnection,
  CannotEstablishConnection, ExceptionDuringProcessingOfIncomingMessage, DecodingError, KeepAliveIntervalLapsed,
  LinkErrorIsDetected, LinkErrorIsDetectedDuringSessionEstablishment, ExchangeInitiatedTerminateMessage, IncomingMessageGapQueueOverflow,
  PluggableSessionStorageException, UnexpectedUuid, CannotRestoreSessionState
}
 

Static Public Member Functions

static const char * toString (Enum type) noexcept
 

Detailed Description

Definition at line 119 of file SessionListener.h.

Member Enumeration Documentation

enum Enum
Enumerator
InternalError 

Internal error.

GeneralError 

A general session-related error.

UnexpectedMessageType 

First message received is not the NegotiationResponse or EstablishmentAck message.

NegotiationReject 

The Negotiation Reject message is received in reply to the Negotiation message.

EstablishmentReject 

The Establishment Reject message is received in reply to the Establish message.

TerminateInReplyOnEstablish 

The Terminate message is received in reply to the Establish message.

MsgSeqNumTooLow 

The incoming message has a sequence number less than expected and the PossRetransFlag is not set, it indicates a serious error.

The incoming message has a sequence number less than expected and the PossRetransFlag is not set, it indicates a serious error. It is strongly recommended that the session be terminated and manual intervention be initiated.

CannotRestoreConnection 

Connection cannot be restored.

CannotEstablishConnection 

Connection cannot be established.

ExceptionDuringProcessingOfIncomingMessage 

Exception during processing of an incoming message.

DecodingError 

Received an invalid incoming message.

KeepAliveIntervalLapsed 

When two times the KeepAliveInterval has expired and no keep alive message is received then the session is terminated ungracefully and will need to be re-established.

LinkErrorIsDetected 

Telecommunication link error is detected.

LinkErrorIsDetectedDuringSessionEstablishment 

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

ExchangeInitiatedTerminateMessage 

The Exchange sent the initial Terminate message.

IncomingMessageGapQueueOverflow 

The maximum size of the incoming message gap queue is exceeded.

PluggableSessionStorageException 

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

UnexpectedUuid 

A message with unexpected UUID is received.

CannotRestoreSessionState 

Session state cannot be restored.

Definition at line 121 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: