summaryrefslogtreecommitdiff
path: root/Ivy/IvyWatcher.h
blob: 1eb0718f0eeb448cda745999f134c1bee22baa4a (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

#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();
// Overrides
public:
	void start(const char *domain);
	void stop();
	virtual void OnReceive(int nErrorCode);

// Implementation
protected:
	Ivy * bus;

};