OnixS C++ CME iLink 3 Binary Order Entry Handler 1.18.9
API Documentation
Loading...
Searching...
No Matches
TerminateErrorCode Struct Reference

Public Types

enum  Enum

Static Public Member Functions

static const char * toString (Enum value) noexcept
static TerminateErrorCode::Enum toErrorCode (unsigned short value) noexcept

Detailed Description

Definition at line 183 of file ValuesEnums.h.

Member Enumeration Documentation

◆ Enum

enum Enum
Enumerator
NotSet 255 

The value is not set.

Finished 

session is being terminated without finalization

Unnegotiated 

Sending any message when session has not been Negotiated.

NotEstablished 

Sending any message (except Negotiate) when session has not been established.

AlreadyNegotiated 

NegotiationResponse was already sent; Negotiate was redundant.

NegotiationInProgress 

Previous Negotiate still being processed; Wait for NegotiationResponse or timeout.

AlreadyEstablished 

EstablishmentAck was already sent; Establish was redundant.

EstablishInProgress 

Previous Establish still being processed; Wait for EstablishmentAck or timeout.

CMEAdministeredPortClosure 

due to invalid number of Negotiate: Establish attempts being exceeded

VolumeControls 

exceeding TPS limit as defined for volume controls (logout action)

InvalidNextSeqNo 10 

value is not greater than the one last used for same UUID or value sent by the client is out of acceptable range (MIN, MAX)

InvalidMsgSeqNo 11 

value is lower than the last one used for the same UUID or value is not initialized to 1 at the beginning of the week or value sent by the client is out of acceptable range (MIN, MAX)

InvalidLastSeqNo 12 

value is lower than the last one used for the same UUID or value sent by the client is out of acceptable range (MIN, MAX)

InvalidUUID 13 

UUID value does not match current UUID or value sent by the client is out of acceptable range (MIN, MAX)

InvalidTimestamp 14 

Timestamp value does not match with RequestTimestamp sent by CME or value sent by the client is out of acceptable range (MIN, MAX)

RequiredUUIDMisssing 15 

null value in UUID field

RequiredRequestTimestampMissing 16 

null value in RequestTimestamp field

RequiredCodeMisssing 17 

null value in Code field

InvalidSOFH 18 

Invalid message length or invalid encoding type specified.

DecodingError 19 

Incoming message could not be decoded.

KeepAliveIntervalLapsed 20 

KeepAliveInterval has lapsed without any response so terminating session.

RequiredNextSeqNoMissing 21 

null value in NextSeqNo field

RequiredKeepAliveIntervalLapsedMissing 22 

null value in KeepAliveIntervalLapsed field

NonNegotiate 23 

Establish message received when not Negotiated: Established.

TerminateInProgress 24 

Previous Terminate still being processed; Wait for Terminate or timeout.

Other 25 

any other error condition not mentioned above

DisconnectFromPrimary 26 

Backup session will be terminated as well.

Definition at line 185 of file ValuesEnums.h.

Member Function Documentation

◆ toErrorCode()

TerminateErrorCode::Enum toErrorCode ( unsigned short value)
inlinestaticnoexcept
Returns
The TerminateErrorCode::Enum value that corresponds to the given integer value.

Definition at line 220 of file ValuesEnums.h.

◆ toString()

const char * toString ( Enum value)
staticnoexcept
Returns
a string that represents the given value.