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.

50 lines
1.0 KiB

  1. // Copyright (c) 1997-2001 Microsoft Corporation, All Rights Reserved
  2. class GetOperation : public SnmpGetOperation
  3. {
  4. private:
  5. WbemSnmpProperty **m_PropertyContainer ;
  6. ULONG m_PropertyContainerLength ;
  7. SnmpGetResponseEventObject *eventObject ;
  8. BOOL virtuals ;
  9. BOOL virtualsInitialised ;
  10. ULONG varBindsReceived ;
  11. ULONG erroredVarBindsReceived ;
  12. SnmpSession *session ;
  13. protected:
  14. void ReceiveResponse () ;
  15. void ReceiveVarBindResponse (
  16. IN const ULONG &var_bind_index,
  17. IN const SnmpVarBind &requestVarBind ,
  18. IN const SnmpVarBind &replyVarBind ,
  19. IN const SnmpErrorReport &error
  20. ) ;
  21. void ReceiveErroredVarBindResponse(
  22. IN const ULONG &var_bind_index,
  23. IN const SnmpVarBind &requestVarBind ,
  24. IN const SnmpErrorReport &error
  25. ) ;
  26. void FrameTooBig() ;
  27. void FrameOverRun() ;
  28. public:
  29. GetOperation (IN SnmpSession &session , IN SnmpGetResponseEventObject *eventObject ) ;
  30. ~GetOperation () ;
  31. void Send () ;
  32. void DestroyOperation () { SnmpGetOperation :: DestroyOperation () ; }
  33. };