summaryrefslogtreecommitdiff
path: root/Ivy
diff options
context:
space:
mode:
authorfcolin2007-02-01 13:04:08 +0000
committerfcolin2007-02-01 13:04:08 +0000
commitdc3740113a3db349f005ee5e4a948cb5d9972120 (patch)
tree8bf4dc58dd8315b83619c251a249210ba22a50b8 /Ivy
parenta590fa8d95a798b1a4f750ed9b5b85e9e642e701 (diff)
downloadivy-cplusplus-dc3740113a3db349f005ee5e4a948cb5d9972120.zip
ivy-cplusplus-dc3740113a3db349f005ee5e4a948cb5d9972120.tar.gz
ivy-cplusplus-dc3740113a3db349f005ee5e4a948cb5d9972120.tar.bz2
ivy-cplusplus-dc3740113a3db349f005ee5e4a948cb5d9972120.tar.xz
Utilisateur : Fcolin Date : 16/06/00 Heure : 10:14 Créé (vss 1)
Diffstat (limited to 'Ivy')
-rw-r--r--Ivy/IvyWatcher.h52
1 files changed, 52 insertions, 0 deletions
diff --git a/Ivy/IvyWatcher.h b/Ivy/IvyWatcher.h
new file mode 100644
index 0000000..7836a90
--- /dev/null
+++ b/Ivy/IvyWatcher.h
@@ -0,0 +1,52 @@
+#if !defined(AFX_BUSWATCHER_H__F7F08FE7_E653_11D0_AE3E_080009F92591__INCLUDED_)
+#define AFX_BUSWATCHER_H__F7F08FE7_E653_11D0_AE3E_080009F92591__INCLUDED_
+
+#if _MSC_VER >= 1000
+#pragma once
+#endif // _MSC_VER >= 1000
+// 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();
+ // ClassWizard generated virtual function overrides
+ //{{AFX_VIRTUAL(IvyWatcher)
+ public:
+ virtual void OnReceive(int nErrorCode);
+ //}}AFX_VIRTUAL
+
+ // Generated message map functions
+ //{{AFX_MSG(IvyWatcher)
+ // NOTE - the ClassWizard will add and remove member functions here.
+ //}}AFX_MSG
+
+// Implementation
+protected:
+ Ivy * bus;
+
+};
+
+/////////////////////////////////////////////////////////////////////////////
+
+//{{AFX_INSERT_LOCATION}}
+// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
+
+#endif // !defined(AFX_BUSWATCHER_H__F7F08FE7_E653_11D0_AE3E_080009F92591__INCLUDED_)