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.

37 lines
676 B

  1. //=================================================================
  2. //
  3. // TimeOutRule.h
  4. //
  5. // Copyright (c) 1999-2001 Microsoft Corporation, All Rights Reserved
  6. //
  7. //=================================================================
  8. class CTimeOutRule : public CRule , public CTimerEvent
  9. {
  10. protected:
  11. CResourceList *m_pResources ;
  12. BOOL m_bTimeOut ;
  13. virtual ULONG AddRef () ;
  14. virtual ULONG Release () ;
  15. void OnTimer () ;
  16. public:
  17. CTimeOutRule ( DWORD dwTimeOut, CResource * pResource, CResourceList * pResources ) ;
  18. ~CTimeOutRule () ;
  19. void Detach () ;
  20. BOOL CheckRule () ;
  21. // void Enable () ;
  22. // void Disable () ;
  23. } ;