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
50 lines
1.0 KiB
// Copyright (c) 1997-2001 Microsoft Corporation, All Rights Reserved
|
|
|
|
class GetOperation : public SnmpGetOperation
|
|
{
|
|
private:
|
|
|
|
WbemSnmpProperty **m_PropertyContainer ;
|
|
ULONG m_PropertyContainerLength ;
|
|
|
|
SnmpGetResponseEventObject *eventObject ;
|
|
|
|
BOOL virtuals ;
|
|
BOOL virtualsInitialised ;
|
|
ULONG varBindsReceived ;
|
|
ULONG erroredVarBindsReceived ;
|
|
|
|
SnmpSession *session ;
|
|
|
|
protected:
|
|
|
|
void ReceiveResponse () ;
|
|
|
|
void ReceiveVarBindResponse (
|
|
|
|
IN const ULONG &var_bind_index,
|
|
IN const SnmpVarBind &requestVarBind ,
|
|
IN const SnmpVarBind &replyVarBind ,
|
|
IN const SnmpErrorReport &error
|
|
) ;
|
|
|
|
void ReceiveErroredVarBindResponse(
|
|
|
|
IN const ULONG &var_bind_index,
|
|
IN const SnmpVarBind &requestVarBind ,
|
|
IN const SnmpErrorReport &error
|
|
) ;
|
|
|
|
void FrameTooBig() ;
|
|
|
|
void FrameOverRun() ;
|
|
|
|
public:
|
|
|
|
GetOperation (IN SnmpSession &session , IN SnmpGetResponseEventObject *eventObject ) ;
|
|
~GetOperation () ;
|
|
|
|
void Send () ;
|
|
|
|
void DestroyOperation () { SnmpGetOperation :: DestroyOperation () ; }
|
|
};
|