summaryrefslogtreecommitdiff
path: root/netfs/daemonService.h
diff options
context:
space:
mode:
Diffstat (limited to 'netfs/daemonService.h')
-rw-r--r--netfs/daemonService.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/netfs/daemonService.h b/netfs/daemonService.h
new file mode 100644
index 0000000..e1a7d7f
--- /dev/null
+++ b/netfs/daemonService.h
@@ -0,0 +1,17 @@
+#ifndef DAEMONSERVICE_H
+#define DAEMONSERVICE_H
+
+#include "netfsComms.h"
+#include "daemonModule.h"
+
+class ServiceServer : public DaemonModule, public NetFSComms::Service {
+ public:
+ ServiceServer(DaemonGlobalStatePtr dgs);
+
+ virtual Ice::Long connect(const std::string & share, const std::string & auth, const Ice::Current&);
+ virtual void disconnect(Ice::Long tok, const Ice::Current&);
+};
+
+#endif
+
+