Thank you Wes, I will implement it as per your suggestion.

> -----Original Message-----
> From: Wes Hardaker [mailto:[email protected]]
> Sent: Friday, October 15, 2010 09:54
> To: [email protected]
> Cc: [email protected]
> Subject: Re: Is it safe to make requests such as get from the same
> subagent process that has registered and handlers the values requested.
> 
> >>>>> On Thu, 14 Oct 2010 15:32:25 -0600, "Marc Butler"
> <[email protected]> said:
> 
> MB> I have a subagent using the AgentX protocol. From the same process
> I
> MB> need to make requests to the master agent using
> MB> snmp_synch_response(). To complicate matters, requests for values
> MB> that have handlers registered in the process, will also be routed
> MB> through the master agent.
> 
> You can do it, but you need to use asyncronouse requests and delegated
> responses.  See the agent/mibgroup/event-mib for a complex example that
> does exactly what you're talking about (to any agent) or
> agent/mibgroup/examples/delayed_instance.c for a simple example showing
> delegation.
> --
> Wes Hardaker
> Please mail all replies to [email protected]
> 





------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to