B2BITS FIX Antenna HFT  1.0.16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | List of all members
RiskCommon::SessionHistory Class Reference

#include <SessionHistory.h>

+ Inheritance diagram for RiskCommon::SessionHistory:
+ Collaboration diagram for RiskCommon::SessionHistory:

Public Types

typedef
Engine::IndexFile::Data::GlobalMsgID 
GlobalMsgID
 
typedef Engine::IndexFile::Data IndexData
 

Public Member Functions

bool getCurrentGlobalMsgID (GlobalMsgID *pMsgID) const
 
IndexData const * getCurrentIndexData () const
 
std::string getCurrentIndexFileName () const
 
bool getCurrentMessage (std::string *pRawMsg, bool &isOutLog, System::u64 &sessionGlobID)
 
bool getMaxGlobalMsgID (GlobalMsgID *pNumber) const
 
GlobalMsgID getWaitingGlobalMsgID () const
 
bool haveProcessedMessages () const
 
SessionHistoryErrorCode moveNextMessage (BOOST_SCOPED_ENUM(SessionHistoryLogTypes)=SessionHistoryLogTypes::All)
 
void readLogDir ()
 
void reset (GlobalMsgID startGlobalMsgID=0)
 
 SessionHistory (std::string const &sender, std::string const &target, SessionOptions const &options)
 
boost::tuple< std::string, bool > tryIgnoreCorruptedIndexFile ()
 
boost::tuple< std::string, bool > tryIgnoreCurrentLogFile ()
 
 ~SessionHistory ()
 

Member Typedef Documentation

typedef Engine::IndexFile::Data::GlobalMsgID RiskCommon::SessionHistory::GlobalMsgID

Constructor & Destructor Documentation

RiskCommon::SessionHistory::SessionHistory ( std::string const &  sender,
std::string const &  target,
SessionOptions const &  options 
)
RiskCommon::SessionHistory::~SessionHistory ( )

Member Function Documentation

bool RiskCommon::SessionHistory::getCurrentGlobalMsgID ( GlobalMsgID pMsgID) const
IndexData const* RiskCommon::SessionHistory::getCurrentIndexData ( ) const
std::string RiskCommon::SessionHistory::getCurrentIndexFileName ( ) const
bool RiskCommon::SessionHistory::getCurrentMessage ( std::string *  pRawMsg,
bool &  isOutLog,
System::u64 sessionGlobID 
)
bool RiskCommon::SessionHistory::getMaxGlobalMsgID ( GlobalMsgID pNumber) const
GlobalMsgID RiskCommon::SessionHistory::getWaitingGlobalMsgID ( ) const
bool RiskCommon::SessionHistory::haveProcessedMessages ( ) const
inline
SessionHistoryErrorCode RiskCommon::SessionHistory::moveNextMessage ( BOOST_SCOPED_ENUM(SessionHistoryLogTypes)  = SessionHistoryLogTypes::All)
void RiskCommon::SessionHistory::readLogDir ( )
void RiskCommon::SessionHistory::reset ( GlobalMsgID  startGlobalMsgID = 0)
boost::tuple<std::string, bool> RiskCommon::SessionHistory::tryIgnoreCorruptedIndexFile ( )
boost::tuple<std::string, bool> RiskCommon::SessionHistory::tryIgnoreCurrentLogFile ( )