summaryrefslogtreecommitdiff
path: root/Ivy/IvyWatcher.h
blob: 4ba41406ec0fde2a68c72c0e58530ee49daa910e (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 "stdafx.h"
#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;

};