blob: e0f80ef46cec3b88899ae29f38818de6d65cf270 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#ifndef DAEMONSERVICE_H
#define DAEMONSERVICE_H
#include <daemonConfig.h>
#include <entCache.h>
#include <service.h>
class ServiceServer : public NetFS::Service {
public:
explicit ServiceServer(NetFS::Daemon::ConfigurationPtr c);
NetFS::VolumePrxPtr connect(const std::string share, const std::string auth, const Ice::Current &) override;
private:
EntCache<User> userLookup;
EntCache<Group> groupLookup;
NetFS::Daemon::ConfigurationPtr config;
};
#endif
|