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.
42 lines
919 B
42 lines
919 B
// Copyright (c) 1997-2001 Microsoft Corporation, All Rights Reserved
|
|
|
|
class SetQueryOperation : public SnmpGetOperation
|
|
{
|
|
private:
|
|
|
|
BOOL rowReceived ;
|
|
|
|
SnmpSession *session ;
|
|
|
|
SnmpSetResponseEventObject *eventObject ;
|
|
|
|
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
|
|
) ;
|
|
|
|
public:
|
|
|
|
SetQueryOperation (IN SnmpSession &session, IN SnmpSetResponseEventObject *eventObjectArg ) ;
|
|
~SetQueryOperation () ;
|
|
|
|
void Send () ;
|
|
|
|
ULONG GetRowReceived () { return rowReceived ; }
|
|
|
|
void DestroyOperation () { SnmpGetOperation :: DestroyOperation () ; }
|
|
};
|