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
41
class
scopira::agent::monitor_service
42
{
43
public
:
45
monitor_service
(
scopira::agent::task_context
&ctx);
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
:
59
scopira::agent::task_context
&dm_ctx;
60
scopira::tool::uuid
dm_server;
61
};
62
63
#endif
64
scopira
Definition:
archiveflow.h:20
scopira::agent::monitor_service::monitor_service
monitor_service(scopira::agent::task_context &ctx)
constructor
scopira::agent::task_context
Definition:
context.h:186
scopira::agent::monitor_service::add_watch
void add_watch(scopira::tool::uuid whotowatch, scopira::tool::uuid receipient, bool killonwatch=false)
scopira::tool::uuid
Definition:
uuid.h:183
scopira::agent::monitor_service
Definition:
monitorservice.h:41
scopira
agent
monitorservice.h
Generated by
1.8.13