B2BITS FIX Antenna HFT  1.0.13
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
Parser::BinaryProtocolI Struct Referenceabstract

#include <BinaryProtocols.h>

+ Inheritance diagram for Parser::BinaryProtocolI:

Public Member Functions

virtual bool canSendHeartbeats (bool initiator)=0
 
virtual const char * convertToBinary (LiteFixMessage *ownerMsg, Utils::RawBuffer *binaryMsg, int *size, bool isIncoming)=0
 
virtual Engine::FIXMessagecreateHBMessage (Engine::FixSessionUProtocol *sn)=0
 
virtual int handleHBI (int hbi)=0
 
virtual void handleSessionParams (Engine::SessionExtraParametersImpl &params)=0
 
virtual void parse (LiteFixMessage *ownerMsg, const char *buf, int len, bool clearTheMessageBeforeUse, bool isMakeStandalone, Engine::FIXTagVisitor *callback, bool isIncoming)
 
virtual int parseSome (LiteFixMessage *ownerMsg, const char *buf, int len, int *offset, bool clearTheMessageBeforeUse, bool isMakeStandalone, Engine::FIXTagVisitor *callback, ParseError &error, bool isIncoming)=0
 
virtual void refineLogonMessage (Engine::FixSessionUProtocol *sn, Engine::FIXMessage *logonMsg, int outSeqnum)=0
 
virtual void setMapping (boost::shared_ptr< BinaryFixMappingI > defMapping, boost::shared_ptr< BinaryFixMappingI > userMapping)
 
virtual void setSessionParams (const Engine::SessionExtraParametersImpl &params)
 
virtual void setSessionRole (bool isInitiator)
 
virtual void validateMessage (const char *buf, int len)=0
 

Public Attributes

boost::shared_ptr
< BinaryFixMappingI
defMapping_
 
bool isInitiator_
 
boost::shared_ptr
< Engine::SessionExtraParametersImpl
params_
 
boost::shared_ptr
< BinaryFixMappingI
userMapping_
 

Member Function Documentation

virtual bool Parser::BinaryProtocolI::canSendHeartbeats ( bool  initiator)
pure virtual

Implemented in Parser::CmiBinaryProtocol.

virtual const char* Parser::BinaryProtocolI::convertToBinary ( LiteFixMessage ownerMsg,
Utils::RawBuffer binaryMsg,
int *  size,
bool  isIncoming 
)
pure virtual

Implemented in Parser::CmiBinaryProtocol.

virtual Engine::FIXMessage* Parser::BinaryProtocolI::createHBMessage ( Engine::FixSessionUProtocol *  sn)
pure virtual

Implemented in Parser::CmiBinaryProtocol.

virtual int Parser::BinaryProtocolI::handleHBI ( int  hbi)
pure virtual

Implemented in Parser::CmiBinaryProtocol.

virtual void Parser::BinaryProtocolI::handleSessionParams ( Engine::SessionExtraParametersImpl params)
pure virtual

Implemented in Parser::CmiBinaryProtocol.

virtual void Parser::BinaryProtocolI::parse ( LiteFixMessage ownerMsg,
const char *  buf,
int  len,
bool  clearTheMessageBeforeUse,
bool  isMakeStandalone,
Engine::FIXTagVisitor callback,
bool  isIncoming 
)
virtual
virtual int Parser::BinaryProtocolI::parseSome ( LiteFixMessage ownerMsg,
const char *  buf,
int  len,
int *  offset,
bool  clearTheMessageBeforeUse,
bool  isMakeStandalone,
Engine::FIXTagVisitor callback,
ParseError error,
bool  isIncoming 
)
pure virtual

Implemented in Parser::CmiBinaryProtocol.

virtual void Parser::BinaryProtocolI::refineLogonMessage ( Engine::FixSessionUProtocol *  sn,
Engine::FIXMessage logonMsg,
int  outSeqnum 
)
pure virtual

Implemented in Parser::CmiBinaryProtocol.

virtual void Parser::BinaryProtocolI::setMapping ( boost::shared_ptr< BinaryFixMappingI defMapping,
boost::shared_ptr< BinaryFixMappingI userMapping 
)
virtual
virtual void Parser::BinaryProtocolI::setSessionParams ( const Engine::SessionExtraParametersImpl params)
virtual
virtual void Parser::BinaryProtocolI::setSessionRole ( bool  isInitiator)
virtual
virtual void Parser::BinaryProtocolI::validateMessage ( const char *  buf,
int  len 
)
pure virtual

Implemented in Parser::CmiBinaryProtocol.

Member Data Documentation

boost::shared_ptr<BinaryFixMappingI> Parser::BinaryProtocolI::defMapping_
bool Parser::BinaryProtocolI::isInitiator_
boost::shared_ptr<Engine::SessionExtraParametersImpl> Parser::BinaryProtocolI::params_
boost::shared_ptr<BinaryFixMappingI> Parser::BinaryProtocolI::userMapping_