excuse me .
i am still confused with the iterate ;-(

i guess that the initial function is called only once
when the agent is up.
or it is called each time when the agent receives a
request?
  
> You wouldn't normally *update* the linked list.
> The iterator hook routines will *search* this list
> for
> the appropriate entry, and then the handler routine
> will
> return the relevant column value from it.
 
i am now working with a readonly table with two
indexes,
which 
is intended to provide realtime information of a IP
TUNNEL maintained by another process.
so i have to update my data.

actually there are only two routines in the template
code,
initial fuction & **_handler function.
where should i put my "update codes"?

here is my working flow plan:
receive a request -> 
get realtime information ->
form a new linked list -> 
parse the request to find the right node ->
return value ->
clear the linked list ->
done

if my guess about initial function above is right,
then
i just cannot put these "update codes" in it.
should i put them in the **_handler function or
somewhere else?

after all is the iterate template suitable for me? 
thank you!

_________________________________________________________
Do You Yahoo!?
150万曲MP3疯狂搜,带您闯入音乐殿堂
http://music.yisou.com/
美女明星应有尽有,搜遍美图、艳图和酷图
http://image.yisou.com
1G就是1000兆,雅虎电邮自助扩容!
http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1g/


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
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