blob: 1ce8a2f3e1e687e6f9bc11668c6bae4926be09d7 (
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
|
#pragma once
// IvyWatcher.h : header file
//
#include "ThreadedSocket.h"
#include "Ivy.h"
/////////////////////////////////////////////////////////////////////////////
// IvyWatcher command target
class IvyWatcher : public CThreadedSocket
{
// Attributes
public:
// Operations
public:
IvyWatcher(Ivy *bus);
virtual ~IvyWatcher();
bool IsRunning() { return running; };
// Overrides
public:
void start(const char *domain);
void stop();
virtual void OnReceive(int nErrorCode);
// Implementation
protected:
Ivy * bus;
bool running;
};
|