blob: 621dcc6f7e5e4af08c64f61181924fff1ae4ef51 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
#ifndef TM_DAEMON_H
#define TM_DAEMON_H
#include "TM_DaemonS.h"
#include "DomainDataManager.h"
#include "Handler_i.h"
#include <vector>
#include <string>
using namespace std;
namespace CIAO
{
namespace TM_Daemon
{
class Daemon_impl: public POA_CIAO::TM_Daemon::Daemon
{
public:
Daemon_impl (CORBA::ORB_ptr orb,
// const char *deployment_plan,
vector<string> deployment_plans,
const char *mapping,
const char *domain,
::PortableServer::POA_ptr poa,
size_t threads = 2);
virtual ~Daemon_impl ();
virtual ::Deployment::Domain * get_snapshot (void);
virtual void shutdown ();
virtual int run ();
private:
CORBA::ORB_var orb_;
DomainDataManager* manager_;
size_t thread_count_;
Onl_Monitor::AMI_NM_MonitorHandler_var handler_;
};
}
}
#endif
|