[AGENT++] Processing errors for multiple varbinds in SNMP req uest
Marek Malowidzki
malowidz at wil.waw.pl
Mon Nov 17 11:51:19 CET 2003
----- Original Message -----
From: "Frank Fock" <fock at agentpp.com>
To: "Rajesh Semwal" <rsemwal at sta.samsung.com>
Cc: <agentpp at agentpp.org>
Sent: Friday, November 14, 2003 12:07 AM
Subject: Re: [AGENT++] Processing errors for multiple varbinds in SNMP req
uest
> Rajesh,
>
> Yes indeed, when you return an error on a get_request, the processing
> continues. This is a bug and will be changed in the next release. However,
> normally this bug will have no effect, since a GET request should not
return
> an error. The view and access handling is already handled before an
object's
> get_request method is called.
Well, I personally believe that, under some circumstances, it could return
an error (e.g., when a hardware failure occurs).
But I would like to ask another question: Is there a possibility to return
an error for a different variable binding that the one that is currently
being processed (I mean SET here)? This could be useful e.g. for a row with
some dependences between particular variables; a code that processes
everything in a single place could decide which variable is responsible for
an error. In the common approach, an error code must be stored and one has
to wait for a method on the appropriate variable to be called.
Marek
More information about the AGENTPP
mailing list