1 |
// Share |
2 |
// |
3 |
// Douglas Thrift |
4 |
// |
5 |
// $Id$ |
6 |
|
7 |
#ifndef _Share_hpp_ |
8 |
#define _Share_hpp_ |
9 |
|
10 |
#include <menes/cxx/platform.hpp> |
11 |
|
12 |
#ifdef MENES_PRAGMA_ONCE |
13 |
#pragma once |
14 |
#endif |
15 |
|
16 |
#include <menes/api/socket.hpp> |
17 |
#include <menes/api/path.hpp> |
18 |
|
19 |
#include "Connector.hpp" |
20 |
|
21 |
class Share : public ext::ReferenceCounted |
22 |
{ |
23 |
private: |
24 |
mutable _R<Connector> connector; |
25 |
public: |
26 |
static api::Path shares; |
27 |
api::Address host; |
28 |
cse::String share; |
29 |
api::Path path; |
30 |
Share(const _R<Connector>& connector, const api::Address& host, const cse::String& share); |
31 |
~Share(); |
32 |
}; |
33 |
|
34 |
#endif//_Share_hpp_ |