B2BITS FIX Antenna HFT  1.0.16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Static Public Attributes | List of all members
Parser::ILink3BinaryProtocol Class Reference

#include <ILink3BinaryProtocol.h>

+ Inheritance diagram for Parser::ILink3BinaryProtocol:
+ Collaboration diagram for Parser::ILink3BinaryProtocol:

Public Member Functions

bool canSendHeartbeats (bool initiator)
 
const char * convertToBinary (LiteFixMessage *ownerMsg, Utils::RawBuffer *rawFixMsg, int *size, bool isIncoming)
 
Engine::FIXMessagecreateHBMessage (Engine::FixSessionUProtocol *sn)
 
int handleHBI (int hbi)
 
void handleSessionParams (Engine::SessionExtraParametersImpl &params)
 
 ILink3BinaryProtocol ()
 
const char * operator() (const Utils::RawBuffer &buffer, const char **msgStart, const char **bufEnd, int *procceedBytes) const
 
int parseSome (LiteFixMessage *ownerMsg, const char *buf, size_t len, int *offset, bool clearTheMessageBeforeUse, bool isMakeStandalone, Engine::FIXTagVisitor *callback, ParseError &error, bool isIncoming)
 
void refineLogonMessage (Engine::FixSessionUProtocol *sn, Engine::FIXMessage *logonMsg, int outSeqnum)
 
void validateMessage (const char *buf, int len)
 
- Public Member Functions inherited from Parser::BinaryProtocolI
virtual void parse (LiteFixMessage *ownerMsg, const char *buf, size_t len, bool clearTheMessageBeforeUse, bool isMakeStandalone, Engine::FIXTagVisitor *callback, bool isIncoming)
 
virtual void setMapping (std::shared_ptr< BinaryFixMappingI > defMapping, std::shared_ptr< BinaryFixMappingI > userMapping)
 
virtual void setSessionParams (const Engine::SessionExtraParametersImpl &params)
 
virtual void setSessionRole (bool isInitiator)
 

Static Public Attributes

static const System::u16 ILINK3_MARKER = 0xCAFE
 
static const int MIN_MSG_SIZE = 16
 

Additional Inherited Members

- Public Attributes inherited from Parser::BinaryProtocolI
std::shared_ptr
< BinaryFixMappingI
defMapping_
 
bool isInitiator_
 
std::shared_ptr
< Engine::SessionExtraParametersImpl
params_
 
std::shared_ptr
< BinaryFixMappingI
userMapping_
 

Constructor & Destructor Documentation

Parser::ILink3BinaryProtocol::ILink3BinaryProtocol ( )

Member Function Documentation

bool Parser::ILink3BinaryProtocol::canSendHeartbeats ( bool  initiator)
virtual
const char* Parser::ILink3BinaryProtocol::convertToBinary ( LiteFixMessage ownerMsg,
Utils::RawBuffer rawFixMsg,
int *  size,
bool  isIncoming 
)
virtual
Engine::FIXMessage* Parser::ILink3BinaryProtocol::createHBMessage ( Engine::FixSessionUProtocol *  sn)
virtual
int Parser::ILink3BinaryProtocol::handleHBI ( int  hbi)
virtual
void Parser::ILink3BinaryProtocol::handleSessionParams ( Engine::SessionExtraParametersImpl params)
virtual
const char* Parser::ILink3BinaryProtocol::operator() ( const Utils::RawBuffer buffer,
const char **  msgStart,
const char **  bufEnd,
int *  procceedBytes 
) const
inlinevirtual
int Parser::ILink3BinaryProtocol::parseSome ( LiteFixMessage ownerMsg,
const char *  buf,
size_t  len,
int *  offset,
bool  clearTheMessageBeforeUse,
bool  isMakeStandalone,
Engine::FIXTagVisitor callback,
ParseError error,
bool  isIncoming 
)
virtual
void Parser::ILink3BinaryProtocol::refineLogonMessage ( Engine::FixSessionUProtocol *  sn,
Engine::FIXMessage logonMsg,
int  outSeqnum 
)
virtual
void Parser::ILink3BinaryProtocol::validateMessage ( const char *  buf,
int  len 
)
virtual

Member Data Documentation

const System::u16 Parser::ILink3BinaryProtocol::ILINK3_MARKER = 0xCAFE
static
const int Parser::ILink3BinaryProtocol::MIN_MSG_SIZE = 16
static