B2BITS FIX Antenna HFT  1.0.18
 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 (MCachedFileStorageMgr const &)=delete
 
void operator= (MCachedFileStorageMgr const &)=delete
 
 ~MCachedFileStorageMgr ()
 
- Public Member Functions inherited from Engine::FileStorageMgrT< System::MCachedFile >
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)
 
- 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::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 ()
 
- 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 StorageMgr * singleton (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, 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)
 

Constructor & Destructor Documentation

Engine::MCachedFileStorageMgr::MCachedFileStorageMgr ( )
Engine::MCachedFileStorageMgr::~MCachedFileStorageMgr ( )
Engine::MCachedFileStorageMgr::MCachedFileStorageMgr ( MCachedFileStorageMgr const &  )
delete

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,
System::u64  sessionInternalState,
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
void Engine::MCachedFileStorageMgr::operator= ( MCachedFileStorageMgr const &  )
delete

Friends And Related Function Documentation

friend class Impl
friend