[AGENT++] multi-var set for a table

Frank Fock fock at agentpp.com
Wed Mar 3 20:17:04 CET 2004


The order is not significant, because AGENT++ searches for the RowStatus
VB and processes it first. So, if you do not want to do something very 
special,
you will not have to reorder to VBs (which is also not a good idea, 
because the
PDU has to be returned in the same order as received) Although AGENT++
restores the original VBs (as received) where it is obviously necessary, you
cannot count on it.

Best regards,
Frank

siva chelliah wrote:

>When the manager issues a set request to create a table, should the
>rowstatus set be the first? If not, how do I handle this in agent++.  I was
>trying to search it in Request object and I thought I could swap the
>rowstatus OID with the first one but I do not know how to swap the VB object
>since function get_value
>
> 
>
>Vbx Request::get_value(int i)
>
>{
>
>        return (*pdu)[i];
>
>}
>
> 
>
>does not return a refernce.
>
> 
>
> 
>
>Any help?
>
> 
>
>For example, 
>
> 
>
>snmpset ..     <oid for col1> integer 55 . <oidfor rowstatus> 5
>
> 
>
>snmpset ..     <oid for col1> integer 55 . <oidfor rowstatus> 4
>
> 
>
> 
>
>Please update your address book with my new e-mail address:
>s.chelliah at samsung.com
>
>Siva Chelliah
>
>Samsung Telecommunications America
>
>1301 East Lookout Dr.   Richardson, TX 75082
>
>972-761-7903
>
>Friends come and go, but enemies accumulate - Murphy's Law #1024
>
> 
>
>
>  
>
>------------------------------------------------------------------------
>
>_______________________________________________
>AGENTPP mailing list
>AGENTPP at agentpp.org
>http://agentpp.org/mailman/listinfo/agentpp
>  
>






More information about the AGENTPP mailing list