summaryrefslogtreecommitdiff
path: root/netfs/daemon/daemonService.h
diff options
context:
space:
mode:
Diffstat (limited to 'netfs/daemon/daemonService.h')
-rw-r--r--netfs/daemon/daemonService.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/netfs/daemon/daemonService.h b/netfs/daemon/daemonService.h
new file mode 100644
index 0000000..5618c84
--- /dev/null
+++ b/netfs/daemon/daemonService.h
@@ -0,0 +1,18 @@
+#ifndef DAEMONSERVICE_H
+#define DAEMONSERVICE_H
+
+#include <service.h>
+
+class ServiceServer : public NetFS::Service {
+ public:
+ ServiceServer(int16_t hostseed, DaemonConfigPtr c);
+
+ virtual NetFS::VolumePrx connect(const std::string & share, const std::string & auth, const Ice::Current&) override;
+
+ private:
+ DaemonConfigPtr config;
+ const int16_t hostseed;
+};
+
+#endif
+