diff options
author | Benoit Foucher <benoit@zeroc.com> | 2006-12-12 10:26:38 +0000 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2006-12-12 10:26:38 +0000 |
commit | da82423dbda5c27ca355c1ad3a22f215c6c8a21b (patch) | |
tree | 2c8f447d3138604e7b49817bbe4ff0ff4aa047f1 /cpp/src/IceGrid/FileCache.h | |
parent | Added timeouts (diff) | |
download | ice-da82423dbda5c27ca355c1ad3a22f215c6c8a21b.tar.bz2 ice-da82423dbda5c27ca355c1ad3a22f215c6c8a21b.tar.xz ice-da82423dbda5c27ca355c1ad3a22f215c6c8a21b.zip |
Removed maxLines attribute from FileIterator::read() method
Diffstat (limited to 'cpp/src/IceGrid/FileCache.h')
-rw-r--r-- | cpp/src/IceGrid/FileCache.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/cpp/src/IceGrid/FileCache.h b/cpp/src/IceGrid/FileCache.h index 4a827c6581d..51939521f87 100644 --- a/cpp/src/IceGrid/FileCache.h +++ b/cpp/src/IceGrid/FileCache.h @@ -12,6 +12,7 @@ #include <IceUtil/Shared.h> #include <Ice/BuiltinSequences.h> +#include <Ice/CommunicatorF.h> namespace IceGrid { @@ -20,10 +21,14 @@ class FileCache : public IceUtil::Shared { public: - FileCache(); + FileCache(const Ice::CommunicatorPtr&); Ice::Long getOffsetFromEnd(const std::string&, int); - bool read(const std::string&, Ice::Long, int, int, Ice::Long&, Ice::StringSeq&); + bool read(const std::string&, Ice::Long, int, Ice::Long&, Ice::StringSeq&); + +private: + + const int _messageSizeMax; }; typedef IceUtil::Handle<FileCache> FileCachePtr; |