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.

66 lines
1.2 KiB

  1. //#--------------------------------------------------------------
  2. //
  3. // File: packetio.h
  4. //
  5. // Synopsis: This file holds the declarations of the
  6. // CPacketIo class
  7. //
  8. //
  9. // History: 9/23/97 MKarki Created
  10. //
  11. // Copyright (C) 1997-98 Microsoft Corporation
  12. // All rights reserved.
  13. //
  14. //----------------------------------------------------------------
  15. #ifndef _PACKETIO_H_
  16. #define _PACKETIO_H_
  17. #include "radcommon.h"
  18. #include "perimeter.h"
  19. class CPacketIo : public Perimeter
  20. {
  21. public:
  22. //
  23. // start processing the packet I/O
  24. //
  25. virtual BOOL StartProcessing ();
  26. //
  27. // stop processing packet I/O
  28. //
  29. virtual BOOL StopProcessing ();
  30. //
  31. // constructor
  32. //
  33. CPacketIo();
  34. //
  35. // destructor
  36. //
  37. virtual ~CPacketIo();
  38. protected:
  39. //
  40. // enable the processing
  41. //
  42. BOOL EnableProcessing (VOID);
  43. //
  44. // disable processing
  45. //
  46. BOOL DisableProcessing (VOID);
  47. //
  48. // check if processing is enabled
  49. //
  50. BOOL IsProcessingEnabled (VOID);
  51. private:
  52. BOOL m_bProcessData;
  53. };
  54. #endif // infndef _PACKETRECEIVER_H_