diff options
author | Michi Henning <michi@zeroc.com> | 2005-01-14 06:57:52 +0000 |
---|---|---|
committer | Michi Henning <michi@zeroc.com> | 2005-01-14 06:57:52 +0000 |
commit | fa0012a4f9734b4bdd0c1500f821b6f2ee873c14 (patch) | |
tree | f2dfa25136a634607861ab272d788e8f595e8651 /cpp/src/IcePatch2/FileServerI.h | |
parent | Changed test to leave _noDelete as true. (diff) | |
download | ice-fa0012a4f9734b4bdd0c1500f821b6f2ee873c14.tar.bz2 ice-fa0012a4f9734b4bdd0c1500f821b6f2ee873c14.tar.xz ice-fa0012a4f9734b4bdd0c1500f821b6f2ee873c14.zip |
Did some tidying up, got rid of magic numbers, added a config property for
the max read size, and added documentation.
Diffstat (limited to 'cpp/src/IcePatch2/FileServerI.h')
-rw-r--r-- | cpp/src/IcePatch2/FileServerI.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cpp/src/IcePatch2/FileServerI.h b/cpp/src/IcePatch2/FileServerI.h index 6a22bfcb674..448b3e7abe6 100644 --- a/cpp/src/IcePatch2/FileServerI.h +++ b/cpp/src/IcePatch2/FileServerI.h @@ -20,7 +20,7 @@ class FileServerI : public FileServer { public: - FileServerI(const std::string&, const FileInfoSeq&); + FileServerI(const Ice::CommunicatorPtr& communicator, const std::string&, const FileInfoSeq&); FileInfoSeq getFileInfoSeq(Ice::Int, const Ice::Current&) const; @@ -35,6 +35,8 @@ private: const std::string _dataDir; const std::string _dataDirWithSlash; const FileTree0 _tree0; + + int _maxReadSize; // Max number of bytes returned per RPC. }; } |