On Mon, 14 Jun 2004 08:26:05 -0700 Glenn wrote:
GM> Very sorry about all the questions regarding subagents. I am now trying to
GM> get my subagent to process set requests. I use a delegated method for gets
GM> and need to do the same for sets. So in my handler I just set delegated to
GM> 1 and put the request on a queue. From there I return to my main loop and
GM> look at the queue, if there is something on the queue I process it. This is
GM> where I am only getting MODE_SET_RESERVE1, it never changes from that. In
GM> that mode do I need to return something to tell it to move to the next. In
GM> reserve1 I just check the type. In reserve2 I do nothing. ALl my work is
GM> done in SET_ACTION. But I never get there?!

The delegated flag is per mode, not per request. Don't set the delegated flag
until the action phase, and make sure you clear the flag as soon as you've done
your work, so the request will move to the next phase.

-- 
Robert Story; NET-SNMP Junkie <http://www.net-snmp.org/>
<irc://irc.freenode.net/#net-snmp>  
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users>

You are lost in a twisty maze of little standards, all different. 


-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the
one installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
Net-snmp-users mailing list
[EMAIL PROTECTED]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to