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.

89 lines
2.0 KiB

  1. //#--------------------------------------------------------------
  2. //
  3. // File: sendtopipe.h
  4. //
  5. // Synopsis: This file holds the declarations of the
  6. // CSendToPipe class
  7. //
  8. //
  9. // History: 10/22/97 MKarki Created
  10. //
  11. // Copyright (C) 1997-98 Microsoft Corporation
  12. // All rights reserved.
  13. //
  14. //----------------------------------------------------------------
  15. #ifndef _SENDTOPIPE_H_
  16. #define _SENDTOPIPE_H_
  17. #include "vsafilter.h"
  18. #include "recvfrompipe.h"
  19. #include "packetradius.h"
  20. #include "reportevent.h"
  21. #include "radcommon.h"
  22. class CSendToPipe
  23. {
  24. public:
  25. //
  26. // initialize the CSendToPipe class object
  27. //
  28. BOOL Init (
  29. /*[in]*/ IRequestSource *pIRequestSource,
  30. /*[in]*/ VSAFilter *pCVSAFilter,
  31. /*[in]*/ CReportEvent *pCReportEvent
  32. );
  33. //
  34. // start processing the inbound RADIUS requests
  35. //
  36. BOOL StartProcessing (
  37. /*[in]*/ IRequestHandler *pIRequestHandler
  38. );
  39. //
  40. // stop processing inbound RADIUS packet
  41. //
  42. BOOL StopProcessing (VOID);
  43. //
  44. // process inbound RADIUS packet
  45. //
  46. HRESULT Process (
  47. /*[in]*/ CPacketRadius *pCPacketRadius
  48. );
  49. //
  50. // constructor
  51. //
  52. CSendToPipe();
  53. //
  54. // destructor
  55. //
  56. virtual ~CSendToPipe();
  57. private:
  58. //
  59. // set the properties in Request class object
  60. //
  61. HRESULT SetRequestProperties (
  62. /*[in]*/ IRequest *pIRequest,
  63. /*[in]*/ CPacketRadius *pCPacketRadius,
  64. /*[in]*/ PACKETTYPE epPacketType
  65. );
  66. IRequestSource *m_pIRequestSource;
  67. IRequestHandler *m_pIRequestHandler;
  68. IClassFactory *m_pIClassFactory;
  69. VSAFilter *m_pCVSAFilter;
  70. CReportEvent *m_pCReportEvent;
  71. };
  72. #endif // ifndef _SENDTOPIPE_H_