B2BITS FIX Antenna C++ 2.32.0
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
Engine::FIXMsgFactory Class Referenceabstract

Creates FIXMessages. More...

#include <B2BITS_FIXMsgFactory.h>

Public Member Functions

virtual FIXMessagenewLogonSkel (FIXVersion ver) const =0
 Creates the new skeleton of the Logon message and returns it.
 
virtual FIXMessagenewSkel (FIXVersion ver, const char *msgType, FIXVersion ssnver=NA) const =0
 Creates the new skeleton of the application message and returns it.
 
virtual FIXMessagenewSkel (ParserID parserID, const char *msgType, ProtocolIndex ver=NA) const =0
 Creates the new skeleton of the application message and returns it.
 

Static Public Member Functions

static FIXMsgFactorysingleton ()
 Returns the instance of the class.
 

Protected Member Functions

 FIXMsgFactory ()
 Constructor.
 
virtual ~FIXMsgFactory ()
 Destructor.
 

Detailed Description

Creates FIXMessages.

Constructor & Destructor Documentation

◆ FIXMsgFactory()

Engine::FIXMsgFactory::FIXMsgFactory ( )
protected

Constructor.

◆ ~FIXMsgFactory()

virtual Engine::FIXMsgFactory::~FIXMsgFactory ( )
protectedvirtual

Destructor.

Member Function Documentation

◆ newLogonSkel()

virtual FIXMessage * Engine::FIXMsgFactory::newLogonSkel ( FIXVersion ver) const
pure virtual

Creates the new skeleton of the Logon message and returns it.

Parameters
verVersion of FIX protocol to use.
Warning
the user is responsible for the deletion.
Method throws Utils::Exception in case protocol is not defined.

◆ newSkel() [1/2]

virtual FIXMessage * Engine::FIXMsgFactory::newSkel ( FIXVersion ver,
const char * msgType,
FIXVersion ssnver = NA ) const
pure virtual

Creates the new skeleton of the application message and returns it.

Parameters
verVersion of FIX protocol to use.
msgTypeNull-terminated std::string. Specifies type of new message.
Warning
the user is responsible for the deletion.
Method throws Utils::Exception in case message or protocol is not defined.

◆ newSkel() [2/2]

virtual FIXMessage * Engine::FIXMsgFactory::newSkel ( ParserID parserID,
const char * msgType,
ProtocolIndex ver = NA ) const
pure virtual

Creates the new skeleton of the application message and returns it.

Parameters
parserIDUnique identifier of the FIX parser customization to use.
msgTypeNull-terminated std::string. Specifies type of new message.
verApplication FIX protocol version. Required if parserID is FIXT11 dialect.
Warning
the user is responsible for the deletion.
Method throws Utils::Exception in case message or protocol is not defined.

◆ singleton()

static FIXMsgFactory * Engine::FIXMsgFactory::singleton ( )
static

Returns the instance of the class.