OnixS CBOE CMi2 Trading Handler for C++  1.1.3.0
Public Member Functions | Public Attributes | Friends | List of all members
BusinessReject Class Reference

Business reject. More...

Public Member Functions

MessageType::Enum type () const
 Message type. More...
 
void validate () const
 Validates message data by checking length limits for strings. More...
 
std::string toString () const
 Returns string representation. More...
 
 BusinessReject ()
 Default constructor. More...
 
- Public Member Functions inherited from Message
SerializedMessage toSerialized () const
 Returns serialized representation. More...
 
virtual ~Message ()
 Destructor. More...
 

Public Attributes

UInt32 referenceSequenceNumber
 Rejected Inbound Message Sequence Number. More...
 
UInt16 referenceMessageType
 Business reject for Message Type. More...
 
CMi2ErrorCode::Enum rejectReasonCode
 Reject reason code. More...
 
std::string message
 This field is formatted as parsable string with ";" (semicolon) as the delimiter. More...
 

Friends

class Serializer
 

Detailed Description

Business reject.

Constructor & Destructor Documentation

Default constructor.

Member Function Documentation

std::string toString ( ) const
virtual

Returns string representation.

Implements Message.

MessageType::Enum type ( ) const
inlinevirtual

Message type.

Implements Message.

void validate ( ) const
virtual

Validates message data by checking length limits for strings.

Throws std::invalid_artument exception if message content is invalid.

Implements Message.

Member Data Documentation

std::string message

This field is formatted as parsable string with ";" (semicolon) as the delimiter.

When possible the first field or token represents the ID of the inbound request that was rejected. NOT all business reject messages will have an ID.

UInt16 referenceMessageType

Business reject for Message Type.

UInt32 referenceSequenceNumber

Rejected Inbound Message Sequence Number.

CMi2ErrorCode::Enum rejectReasonCode

Reject reason code.