Public Member Functions | Static Public Member Functions | Protected Member Functions

Engine::FIXMsgFactory Class Reference

Creates FIXMessages. More...

#include <B2BITS_FIXMsgFactory.h>

List of all members.

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 (ProtocolID protocolID, const char *msgType, FIXVersion 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.

Definition at line 61 of file B2BITS_FIXMsgFactory.h.


Constructor & Destructor Documentation

Engine::FIXMsgFactory::FIXMsgFactory (  ) [protected]

Constructor.

virtual Engine::FIXMsgFactory::~FIXMsgFactory (  ) [protected, virtual]

Destructor.


Member Function Documentation

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 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 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 instance of the class.