Scopira  20080306
monitorservice.h
1 
2 /*
3  * Copyright (c) 2006-2007 National Research Council
4  *
5  * All rights reserved.
6  *
7  * This material is confidential and proprietary information of
8  * National Research Council Canada ("Confidential Information").
9  * This Confidential Information may only be used and reproduced
10  * in accordance with the terms of the license agreement.
11  *
12  */
13 
14 #ifndef __INCLUDED_SCOPIRA_AGENT_MONITORSERVICE_H__
15 #define __INCLUDED_SCOPIRA_AGENT_MONITORSERVICE_H__
16 
17 #include <scopira/tool/uuid.h>
18 #include <scopira/agent/context.h>
19 
20 namespace scopira
21 {
22  namespace agent
23  {
24  class monitor_service;
25  }
26 }
27 
42 {
43  public:
46 
55  void add_watch(scopira::tool::uuid whotowatch, scopira::tool::uuid receipient, bool killonwatch=false);
56  void remove_watch(scopira::tool::uuid whotowatch, scopira::tool::uuid receipient);
57 
58  private:
60  scopira::tool::uuid dm_server;
61 };
62 
63 #endif
64 
Definition: archiveflow.h:20
monitor_service(scopira::agent::task_context &ctx)
constructor
Definition: context.h:186
void add_watch(scopira::tool::uuid whotowatch, scopira::tool::uuid receipient, bool killonwatch=false)
Definition: uuid.h:183
Definition: monitorservice.h:41