B2BITS FIX Antenna HFT  1.0.16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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. More...
 
virtual FIXMessagenewSkel (FIXVersion ver, const char *msgType, FIXVersion ssnver=NA) const =0
 Creates the new skeleton of the application message and returns it. More...
 
virtual FIXMessagenewSkel (ProtocolID protocolID, const char *msgType, FIXVersion ver=NA) const =0
 Creates the new skeleton of the application message and returns it. More...
 

Static Public Member Functions

static FIXMsgFactoryget ()
 Returns the singleton instance of the class. More...
 
static FIXMsgFactorysingleton ()
 Returns the singleton instance of the class. More...
 

Protected Member Functions

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

Detailed Description

Creates FIXMessages.

Constructor & Destructor Documentation

Engine::FIXMsgFactory::FIXMsgFactory ( )
protected

Constructor.

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

Destructor.

Member Function Documentation

static FIXMsgFactory* Engine::FIXMsgFactory::get ( )
inlinestatic

Returns the singleton instance of the class.

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.
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.
virtual FIXMessage* Engine::FIXMsgFactory::newSkel ( ProtocolID  protocolID,
const char *  msgType,
FIXVersion  ver = NA 
) const
pure virtual

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

Parameters
protocolIDUnique identifier of the FIX protocol customization to use.
msgTypeNull-terminated std::string. Specifies type of new message.
verApplication FIX protocol version. Required if protocolID is FIXT11 dialect.
Warning
the user is responsible for the deletion.
Method throws Utils::Exception in case message or protocol is not defined.
static FIXMsgFactory* Engine::FIXMsgFactory::singleton ( )
static

Returns the singleton instance of the class.