B2BITS FIX Antenna HFT
1.0.17
|
#include <MCachedFileStorageMgr.h>
Public Member Functions | |
void | addToSync (System::MCachedFile &fileToSync) |
MCachedFileStorageMgr () | |
~MCachedFileStorageMgr () | |
![]() | |
virtual MsgStorage * | create (const std::string &sender, const std::string &target, FIXVersion ver, System::u64 sessionGlobalID, System::u64 sessionInternalState, int outgoingStorageSize, StorageMgr::PersistentSessionInfo *info, const std::string &location="", const std::string &baseFilePath="") |
Creates new MsgStorage object at subFolder. More... | |
virtual MsgStorage * | create (PersistentSessionInfo *info, int outgoingStorageSize) |
Creates new MsgStorage object. More... | |
virtual bool | existStorage (const std::string &sender, const std::string &target, bool *reuse) |
Loads information about sessions that were terminated non-gracefully. More... | |
virtual bool | load (const std::string &baseFilePath, PersistentSessionInfo *info) |
Loads information about the session that was terminated non-gracefully. More... | |
virtual bool | load (const std::string &sender, const std::string &target, PersistentSessionInfo *info) |
Loads information about the session that was terminated non-gracefully. More... | |
virtual bool | load (const std::string &sender, const std::string &target, FIXVersion version, PersistentSessionInfo *info) |
Loads information about the session that was terminated non-gracefully. More... | |
virtual bool | load (const std::string &sender, const std::string &target, FIXVersion version, Session::ActiveConnection type, PersistentSessionInfo *info) |
Loads information about the session that was terminated non-gracefully. More... | |
virtual MessageStorageType | type () const |
Return storage type. More... | |
Protected Member Functions | |
virtual bool | createStreams (const std::string &baseName, const std::string &sender, const std::string &target, FIXVersion ver, System::u64 sessionGlobalID, System::u64 sessionInternalState, FileT &outFile, FileT &outIndexFile, FileT &inFile, FileT &inIndexFile, Utils::FilePropertiesT< System::FileEx > **ppConfigInfo) |
virtual void | openStreams (const std::string &baseName, const std::string &sender, const std::string &target, FileT &outFile, FileT &outIndexFile, FileT &inFile, FileT &inIndexFile) |
![]() | |
void | createStreams (const std::string &sender, const std::string &target, std::string &baseName, FIXVersion ver, System::u64 sessionGlobalID, System::u64 sessionInternalState, System::MCachedFile &outFile, System::MCachedFile &outIndexFile, System::MCachedFile &inFile, System::MCachedFile &inIndexFile, Utils::FilePropertiesT< System::FileEx > **ppConfigInfo, const std::string &location) |
FileStorageMgrT () | |
~FileStorageMgrT () | |
![]() | |
StorageMgr () | |
virtual | ~StorageMgr () |
Friends | |
class | Impl |
Additional Inherited Members | |
![]() | |
typedef std::list < PersistentSessionInfo > | IncompleteSessionsInfo |
Information about the persistent sessions that were non-gracefully terminated. More... | |
![]() | |
static bool | existStorageF (const std::string &sender, const std::string &target, bool *reuse) |
static std::string | getFileName (const std::string &sender, const std::string &target) |
Returns file's name (without extension). More... | |
static bool | loadF (const std::string &sender, const std::string &target, FIXVersion version, PersistentSessionInfo *info) |
static bool | loadF (const std::string &baseFilePath, PersistentSessionInfo *info) |
static bool | loadF (const std::string &sender, const std::string &target, FIXVersion version, Session::ActiveConnection type, PersistentSessionInfo *info) |
![]() | |
static void | destroy () |
Destroys the instance. More... | |
static void | init () |
Inits the singleton. More... | |
static StorageMgr * | singleton (const MessageStorageType type) |
Returns the pointer to the instance of StorageMgr. More... | |
![]() | |
static void | initConfigInfo (Utils::FilePropertiesT< System::FileEx > *pConfigInfo, const std::string &sender, const std::string &target, FIXVersion aVer, System::u64 globalID, System::u64 sessionInternalState) |
static bool | loadSessionStateData (const std::string &sender, const std::string &target, const std::string &baseName, details::SessionStateData *info) |
static std::auto_ptr < Utils::FilePropertiesT < System::FileEx > > | openConfigInfo (const std::string &sender, const std::string &target, const std::string &baseName, const std::string &mode) |
Engine::MCachedFileStorageMgr::MCachedFileStorageMgr | ( | ) |
Engine::MCachedFileStorageMgr::~MCachedFileStorageMgr | ( | ) |
void Engine::MCachedFileStorageMgr::addToSync | ( | System::MCachedFile & | fileToSync | ) |
|
protectedvirtual |
Reimplemented from Engine::FileStorageMgrT< System::MCachedFile >.
|
protectedvirtual |
Reimplemented from Engine::FileStorageMgrT< System::MCachedFile >.
|
friend |