summaryrefslogtreecommitdiff
path: root/cpp/src/IcePatch2/FileServerI.h
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2004-11-23 16:59:52 +0000
committerMarc Laukien <marc@zeroc.com>2004-11-23 16:59:52 +0000
commit9f3365d304864e08b2abc6699fb1c21cb28fca5f (patch)
tree9c1f014875108d80c05ceda1748addfc9209cee9 /cpp/src/IcePatch2/FileServerI.h
parentmade isFinished more robust (diff)
downloadice-9f3365d304864e08b2abc6699fb1c21cb28fca5f.tar.bz2
ice-9f3365d304864e08b2abc6699fb1c21cb28fca5f.tar.xz
ice-9f3365d304864e08b2abc6699fb1c21cb28fca5f.zip
IcePatch2
Diffstat (limited to 'cpp/src/IcePatch2/FileServerI.h')
-rw-r--r--cpp/src/IcePatch2/FileServerI.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/cpp/src/IcePatch2/FileServerI.h b/cpp/src/IcePatch2/FileServerI.h
new file mode 100644
index 00000000000..29136554afe
--- /dev/null
+++ b/cpp/src/IcePatch2/FileServerI.h
@@ -0,0 +1,42 @@
+// **********************************************************************
+//
+// Copyright (c) 2003-2004 ZeroC, Inc. All rights reserved.
+//
+// This copy of Ice is licensed to you under the terms described in the
+// ICE_LICENSE file included in this distribution.
+//
+// **********************************************************************
+
+#ifndef ICE_PATCH2_FILE_SERVER_I_H
+#define ICE_PATCH2_FILE_SERVER_I_H
+
+#include <IcePatch2/Util.h>
+#include <IcePatch2/FileServer.h>
+
+namespace IcePatch2
+{
+
+class FileServerI : public FileServer
+{
+public:
+
+ FileServerI(const FileInfoSeq&);
+
+ FileInfoSeq getFileInfoSeq(Ice::Int, Ice::Int, const Ice::Current&) const;
+
+ ByteSeqSeq getChecksum2Seq(Ice::Int, const Ice::Current&) const;
+
+ ByteSeqSeq getChecksum1Seq(const Ice::Current&) const;
+
+ Ice::ByteSeq getChecksum0(const Ice::Current&) const;
+
+ Ice::ByteSeq getFileCompressed(const std::string&, Ice::Int pos, Ice::Int num, const Ice::Current&) const;
+
+private:
+
+ const FileTree0 _tree0;
+};
+
+}
+
+#endif