summaryrefslogtreecommitdiff
path: root/Ivy/IvyWatcher.h
diff options
context:
space:
mode:
Diffstat (limited to 'Ivy/IvyWatcher.h')
-rw-r--r--Ivy/IvyWatcher.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/Ivy/IvyWatcher.h b/Ivy/IvyWatcher.h
new file mode 100644
index 0000000..1eb0718
--- /dev/null
+++ b/Ivy/IvyWatcher.h
@@ -0,0 +1,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;
+
+};
+