[AGENT++] Is it possible to return error from RowStatus set function?
dennis w
dennis_w1 at hotmail.com
Tue Apr 25 03:02:34 CEST 2006
Hi Frank,
Thanks for looking into it. The problem seems only existed in
RowStatus::set() function. For normal table columns, I don't see problem
when return SNMP_ERROR_ at table_col::set().
Cheers
Dennis
>From: Frank Fock <fock at agentpp.com>
>To: dennis w <dennis_w1 at hotmail.com>
>CC: agentpp at agentpp.org
>Subject: Re: [AGENT++] Is it possible to return error from RowStatus
>set function?
>Date: Tue, 25 Apr 2006 00:12:09 +0200
>
>Hi,
>
>Independent from this being a bug or not, it is not
>recommended to return an error from MibLeaf::set(..)
>because this will (likely) break the atomic SET (2PC).
>
>I will check if there is a bug or not anyway.
>
>Best regards,
>Frank
>
>Instead overwrite the ::prepare_set_request method.
>
_________________________________________________________________
Powerful Parental Controls Let your child discover the best the Internet has
to offer.
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines
Start enjoying all the benefits of MSN® Premium right now and get the
first two months FREE*.
More information about the AGENTPP
mailing list