#include <SessionHistoryMgr.h>
|
void | filesBeingUpdated (bool v) |
|
bool | getCurrentGlobalMsgID (GlobalMsgID *pNumber) const |
|
IndexData const * | getCurrentIndexData () const |
|
bool | getCurrentMessage (std::string *pRawMsg, bool &isOutLog, System::u64 &sessionGlobID) |
|
bool | getMaxGlobalMsgID (GlobalMsgID *pNumber) const |
|
void | init (std::string const &logDir, BOOST_SCOPED_ENUM(SessionHistoryLogTypes)=SessionHistoryLogTypes::All, BOOST_SCOPED_ENUM(SessionHistoryMode)=SessionHistoryMode::Default, boost::gregorian::date const &localDate=boost::gregorian::day_clock::local_day()) |
|
void | loadSession (std::string const &sender, std::string const &target) |
|
void | loadSession (std::string const &sender, std::string const &target, SessionHistoryErrorCode *errorCode) |
|
bool | moveNextMessage (BOOST_SCOPED_ENUM(SessionHistoryLogTypes)=SessionHistoryLogTypes::All) |
|
void | reset (GlobalMsgID startGlobalMsgID=0) |
|
| SessionHistoryMgr () |
|
| SessionHistoryMgr (std::string const &logDir, BOOST_SCOPED_ENUM(SessionHistoryLogTypes)=SessionHistoryLogTypes::All, BOOST_SCOPED_ENUM(SessionHistoryMode)=SessionHistoryMode::Default, boost::gregorian::date const &localDate=boost::gregorian::day_clock::local_day()) |
|
boost::tuple< std::string, bool > | tryIgnoreCorruptedIndexFile () |
|
boost::tuple< std::string, bool > | tryIgnoreCurrentLogFile () |
|
| ~SessionHistoryMgr () |
|
RiskCommon::SessionHistoryMgr::SessionHistoryMgr |
( |
| ) |
|
RiskCommon::SessionHistoryMgr::SessionHistoryMgr |
( |
std::string const & |
logDir, |
|
|
BOOST_SCOPED_ENUM(SessionHistoryLogTypes) |
= SessionHistoryLogTypes::All , |
|
|
BOOST_SCOPED_ENUM(SessionHistoryMode) |
= SessionHistoryMode::Default , |
|
|
boost::gregorian::date const & |
localDate = boost::gregorian::day_clock::local_day() |
|
) |
| |
RiskCommon::SessionHistoryMgr::~SessionHistoryMgr |
( |
| ) |
|
void RiskCommon::SessionHistoryMgr::filesBeingUpdated |
( |
bool |
v | ) |
|
bool RiskCommon::SessionHistoryMgr::getCurrentGlobalMsgID |
( |
GlobalMsgID * |
pNumber | ) |
const |
IndexData const* RiskCommon::SessionHistoryMgr::getCurrentIndexData |
( |
| ) |
const |
bool RiskCommon::SessionHistoryMgr::getCurrentMessage |
( |
std::string * |
pRawMsg, |
|
|
bool & |
isOutLog, |
|
|
System::u64 & |
sessionGlobID |
|
) |
| |
bool RiskCommon::SessionHistoryMgr::getMaxGlobalMsgID |
( |
GlobalMsgID * |
pNumber | ) |
const |
void RiskCommon::SessionHistoryMgr::init |
( |
std::string const & |
logDir, |
|
|
BOOST_SCOPED_ENUM(SessionHistoryLogTypes) |
= SessionHistoryLogTypes::All , |
|
|
BOOST_SCOPED_ENUM(SessionHistoryMode) |
= SessionHistoryMode::Default , |
|
|
boost::gregorian::date const & |
localDate = boost::gregorian::day_clock::local_day() |
|
) |
| |
void RiskCommon::SessionHistoryMgr::loadSession |
( |
std::string const & |
sender, |
|
|
std::string const & |
target |
|
) |
| |
void RiskCommon::SessionHistoryMgr::loadSession |
( |
std::string const & |
sender, |
|
|
std::string const & |
target, |
|
|
SessionHistoryErrorCode * |
errorCode |
|
) |
| |
bool RiskCommon::SessionHistoryMgr::moveNextMessage |
( |
BOOST_SCOPED_ENUM(SessionHistoryLogTypes) |
= SessionHistoryLogTypes::All | ) |
|
void RiskCommon::SessionHistoryMgr::reset |
( |
GlobalMsgID |
startGlobalMsgID = 0 | ) |
|
boost::tuple<std::string, bool> RiskCommon::SessionHistoryMgr::tryIgnoreCorruptedIndexFile |
( |
| ) |
|
boost::tuple<std::string, bool> RiskCommon::SessionHistoryMgr::tryIgnoreCurrentLogFile |
( |
| ) |
|