diff options
Diffstat (limited to 'netfs/daemonService.cpp')
-rw-r--r-- | netfs/daemonService.cpp | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/netfs/daemonService.cpp b/netfs/daemonService.cpp deleted file mode 100644 index bb13fbc..0000000 --- a/netfs/daemonService.cpp +++ /dev/null @@ -1,22 +0,0 @@ -#include "pchDaemon.hpp" -#include "daemonService.h" - -ServiceServer::ServiceServer(int16_t hs, DaemonGlobalStatePtr dgs) : - DaemonModule(dgs), - hostseed(hs) -{ -} - -Ice::Long -ServiceServer::connect(const std::string & share, const std::string &, const Ice::Current &) -{ - DaemonGlobalState::NSP s = dgs->newSession(hostseed, share); - return s.get<0>(); -} - -void -ServiceServer::disconnect(Ice::Long tok, const Ice::Current &) -{ - dgs->endSession(tok); -} - |