Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

47 lines
1.2 KiB

  1. #if !defined(AFX_WATCHERTCCLIENT_H__BD819878_DCEC_4CB6_B994_5E1B95003E1B__INCLUDED_)
  2. #define AFX_WATCHERTCCLIENT_H__BD819878_DCEC_4CB6_B994_5E1B95003E1B__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // WatcherTCClient.h : header file
  7. //
  8. #include "WatcherSocket.h"
  9. /////////////////////////////////////////////////////////////////////////////
  10. // WatcherTCClient command target
  11. class WatcherTCClient : public WatcherSocket
  12. {
  13. // Attributes
  14. public:
  15. // Operations
  16. public:
  17. WatcherTCClient(LPBYTE cmd=NULL, int cmdLen=0);
  18. virtual ~WatcherTCClient();
  19. // Overrides
  20. public:
  21. // ClassWizard generated virtual function overrides
  22. //{{AFX_VIRTUAL(WatcherTCClient)
  23. //}}AFX_VIRTUAL
  24. // Generated message map functions
  25. //{{AFX_MSG(WatcherTCClient)
  26. // NOTE - the ClassWizard will add and remove member functions here.
  27. //}}AFX_MSG
  28. protected:
  29. void OnReceive(int nErrorCode);
  30. void OnClose(int nErrorCode);
  31. };
  32. /////////////////////////////////////////////////////////////////////////////
  33. //{{AFX_INSERT_LOCATION}}
  34. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  35. #endif // !defined(AFX_WATCHERTCCLIENT_H__BD819878_DCEC_4CB6_B994_5E1B95003E1B__INCLUDED_)