B2BITS FIX Antenna HFT  1.0.13
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Member Functions | Friends | List of all members
Engine::MCachedFileStorageMgr Class Reference

#include <MCachedFileStorageMgr.h>

+ Inheritance diagram for Engine::MCachedFileStorageMgr:
+ Collaboration diagram for Engine::MCachedFileStorageMgr:

Public Member Functions

void addToSync (System::MCachedFile &fileToSync)
 
 MCachedFileStorageMgr ()
 
 ~MCachedFileStorageMgr ()
 
- Public Member Functions inherited from Engine::FileStorageMgrT< System::MCachedFile >
virtual MsgStoragecreate (const std::string &sender, const std::string &target, FIXVersion ver, System::u64 sessionGlobalID, int outgoingStorageSize, StorageMgr::PersistentSessionInfo *info, const std::string &location="", const std::string &baseFilePath="") B2B_OVERRIDE
 Creates new MsgStorage object at subFolder. More...
 
virtual MsgStoragecreate (PersistentSessionInfo *info, int outgoingStorageSize) B2B_OVERRIDE
 Creates new MsgStorage object. More...
 
virtual bool existStorage (const std::string &sender, const std::string &target, bool *reuse) B2B_OVERRIDE
 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) B2B_OVERRIDE
 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) B2B_OVERRIDE
 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) B2B_OVERRIDE
 Loads information about the session that was terminated non-gracefully. More...
 
virtual MessageStorageType type () const B2B_OVERRIDE
 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, FileT &outFile, FileT &outIndexFile, FileT &inFile, FileT &inIndexFile, Utils::FilePropertiesT< System::FileEx > **ppConfigInfo) B2B_OVERRIDE
 
virtual void openStreams (const std::string &baseName, const std::string &sender, const std::string &target, FileT &outFile, FileT &outIndexFile, FileT &inFile, FileT &inIndexFile) B2B_OVERRIDE
 
- Protected Member Functions inherited from Engine::FileStorageMgrT< System::MCachedFile >
void createStreams (const std::string &sender, const std::string &target, std::string &baseName, FIXVersion ver, System::u64 sessionGlobalID, System::MCachedFile &outFile, System::MCachedFile &outIndexFile, System::MCachedFile &inFile, System::MCachedFile &inIndexFile, Utils::FilePropertiesT< System::FileEx > **ppConfigInfo, const std::string &location)
 
 FileStorageMgrT ()
 
 ~FileStorageMgrT ()
 
- Protected Member Functions inherited from Engine::StorageMgr
 StorageMgr ()
 
virtual ~StorageMgr ()
 

Friends

class Impl
 

Additional Inherited Members

- Public Types inherited from Engine::StorageMgr
typedef std::list
< PersistentSessionInfo
IncompleteSessionsInfo
 Information about the persistent sessions that were non-gracefully terminated. More...
 
- Static Public Member Functions inherited from Engine::FileStorageMgrT< System::MCachedFile >
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 Public Member Functions inherited from Engine::StorageMgr
static void destroy ()
 Destroys the instance. More...
 
static void init ()
 Inits the singleton. More...
 
static StorageMgrsingleton (const MessageStorageType type)
 Returns the pointer to the instance of StorageMgr. More...
 
- Static Protected Member Functions inherited from Engine::FileStorageMgrT< System::MCachedFile >
static void initConfigInfo (Utils::FilePropertiesT< System::FileEx > *pConfigInfo, const std::string &sender, const std::string &target, FIXVersion aVer, System::u64 globalID)
 
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)
 

Constructor & Destructor Documentation

Engine::MCachedFileStorageMgr::MCachedFileStorageMgr ( )
Engine::MCachedFileStorageMgr::~MCachedFileStorageMgr ( )

Member Function Documentation

void Engine::MCachedFileStorageMgr::addToSync ( System::MCachedFile fileToSync)
virtual bool Engine::MCachedFileStorageMgr::createStreams ( const std::string &  baseName,
const std::string &  sender,
const std::string &  target,
FIXVersion  ver,
System::u64  sessionGlobalID,
FileT outFile,
FileT outIndexFile,
FileT inFile,
FileT inIndexFile,
Utils::FilePropertiesT< System::FileEx > **  ppConfigInfo 
)
protectedvirtual
virtual void Engine::MCachedFileStorageMgr::openStreams ( const std::string &  baseName,
const std::string &  sender,
const std::string &  target,
FileT outFile,
FileT outIndexFile,
FileT inFile,
FileT inIndexFile 
)
protectedvirtual

Friends And Related Function Documentation

friend class Impl
friend