#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; };