Question regarding Tables in NET-SNMP

Reza Salehi <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Happy New year everyone,


I have a question regarding  Tables in NET-SNMP world.

I have used mib2c to create a table for my code. Everything  is working  and I can retrieve my table using snmpwalk. 

The only problem I have is  myTableHandler  gets call multiple times while it is iterating during the GET or SET.

( I have registered my handler using 
  netsnmp_create_handler_registration ("myTable",MyTableHandler,MyTbale_oid,Mytable_oid_len,HANDLER_CAN_RWRITE);
and my table iterator using     netsnmp_register_table_iterator( reg , info);
)



Is there anyway to define a call back function during table registration to gets call once  either before starting iteration the table or after finishing it?


Thanks for the help,
Rreza

------------------------------------------------------------------------------
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
and much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612

_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.