summaryrefslogtreecommitdiff
path: root/Bus/Ivy/IvyWatcher.h
diff options
context:
space:
mode:
authorfcolin2007-02-01 13:04:08 +0000
committerfcolin2007-02-01 13:04:08 +0000
commit11dec7787f8668e314f996d0231d95715660eda6 (patch)
tree1bcd467c6edbaab6d57f6a15a054535f98916bd8 /Bus/Ivy/IvyWatcher.h
parent4a1b96fbe90da988f2fa19fe298f29e918e154dc (diff)
downloadivy-cplusplus-11dec7787f8668e314f996d0231d95715660eda6.zip
ivy-cplusplus-11dec7787f8668e314f996d0231d95715660eda6.tar.gz
ivy-cplusplus-11dec7787f8668e314f996d0231d95715660eda6.tar.bz2
ivy-cplusplus-11dec7787f8668e314f996d0231d95715660eda6.tar.xz
Utilisateur : Fcolin Date : 16/06/00 Heure : 10:14 Créé (vss 1)
Diffstat (limited to 'Bus/Ivy/IvyWatcher.h')
-rw-r--r--Bus/Ivy/IvyWatcher.h52
1 files changed, 52 insertions, 0 deletions
diff --git a/Bus/Ivy/IvyWatcher.h b/Bus/Ivy/IvyWatcher.h
new file mode 100644
index 0000000..7836a90
--- /dev/null
+++ b/Bus/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_)