OnixS C++ CME iLink 3 Binary Order Entry Handler 1.18.9
API Documentation
Loading...
Searching...
No Matches
OnixS::CME::iLink3::Testing Namespace Reference

Classes

class  ClientMessageListener
class  ClientSessionMessageListener
class  Gateway
class  MessagePtr

Typedefs

using NegotiationResponse501Container = MessageHolder<NegotiationResponse501, calculateNegotiationResponse501MaxSize()>
using NegotiationReject502Container = MessageHolder<NegotiationReject502>
using EstablishmentAck504Container = MessageHolder<EstablishmentAck504>
using EstablishmentReject505Container = MessageHolder<EstablishmentReject505>
using Terminate507Container = MessageHolder<Terminate507>
using Sequence506Container = MessageHolder<Sequence506>
using MessageBasePtr = MessagePtr<SbeMessage>
using Negotiate500Ptr = MessagePtr<Negotiate500>
using Establish503Ptr = MessagePtr<Establish503>
using Terminate507Ptr = MessagePtr<Terminate507>
using Sequence506Ptr = MessagePtr<Sequence506>

Functions

constexpr UInt16 calculateNegotiationResponse501MaxSize ()
template<typename Holder>
std::enable_if< std::is_base_of< TagBased::Message, typenameHolder::MessageType >::value >::type setSeqNum (Holder &msg, SeqNumber num)
template<typename Holder>
std::enable_if<!std::is_base_of< TagBased::Message, typenameHolder::MessageType >::value >::type setSeqNum (Holder &msg, SeqNumber num)
void throwWrongType (UInt16, UInt16)
bool isMessageValid (const SbeMessage &msg) noexcept
bool isMessageValid (const TagBased::Message &msg) noexcept
template<typename AnotherType, typename BaseType>
MessagePtr< AnotherType > cast (const MessagePtr< BaseType > &ptr)

Typedef Documentation

◆ Establish503Ptr

Definition at line 62 of file Gateway.h.

◆ EstablishmentAck504Container

◆ EstablishmentReject505Container

◆ MessageBasePtr

Definition at line 60 of file Gateway.h.

◆ Negotiate500Ptr

Definition at line 61 of file Gateway.h.

◆ NegotiationReject502Container

◆ NegotiationResponse501Container

◆ Sequence506Container

Definition at line 58 of file Gateway.h.

◆ Sequence506Ptr

Definition at line 64 of file Gateway.h.

◆ Terminate507Container

Definition at line 57 of file Gateway.h.

◆ Terminate507Ptr

Definition at line 63 of file Gateway.h.

Function Documentation

◆ calculateNegotiationResponse501MaxSize()

UInt16 calculateNegotiationResponse501MaxSize ( )
constexpr

Definition at line 42 of file Gateway.h.

◆ cast()

template<typename AnotherType, typename BaseType>
MessagePtr< AnotherType > cast ( const MessagePtr< BaseType > & ptr)

Tries to cast to another type.

Definition at line 276 of file MessagePtr.h.

◆ isMessageValid() [1/2]

bool isMessageValid ( const SbeMessage & msg)
inlinenoexcept
Returns
true if the instance refers to a valid message, otherwise - false.

Definition at line 44 of file MessagePtr.h.

◆ isMessageValid() [2/2]

bool isMessageValid ( const TagBased::Message & msg)
inlinenoexcept
Returns
true if the instance refers to a valid message, otherwise - false.

Definition at line 51 of file MessagePtr.h.

◆ setSeqNum() [1/2]

template<typename Holder>
std::enable_if< std::is_base_of< TagBased::Message, typenameHolder::MessageType >::value >::type setSeqNum ( Holder & msg,
SeqNumber num )

Definition at line 376 of file Gateway.h.

◆ setSeqNum() [2/2]

template<typename Holder>
std::enable_if<!std::is_base_of< TagBased::Message, typenameHolder::MessageType >::value >::type setSeqNum ( Holder & msg,
SeqNumber num )

Definition at line 383 of file Gateway.h.

◆ throwWrongType()

void throwWrongType ( UInt16 ,
UInt16  )