// ********************************************************************** // // Copyright (c) 2003-present ZeroC, Inc. All rights reserved. // // ********************************************************************** #ifndef ICE_GRID_FILE_CACHE_H #define ICE_GRID_FILE_CACHE_H #include #include #include namespace IceGrid { class FileCache : public IceUtil::Shared { public: FileCache(const Ice::CommunicatorPtr&); Ice::Long getOffsetFromEnd(const std::string&, int); bool read(const std::string&, Ice::Long, int, Ice::Long&, Ice::StringSeq&); private: const int _messageSizeMax; }; typedef IceUtil::Handle FileCachePtr; }; #endif