<DIV>在2009-05-30 22:48:18,"Bruce Simpson" <bms@incunabulum.net> 写道:<BR>>jjw0927 wrote:<BR>>> Hi all,<BR>>> I want to know how Class SnmpEventLoop export events to the snmp <BR>>> agent. But after I have read the two source files(xorpevents.cc and <BR>>> xorpevents.hh) , I still do not know very clearly.<BR>>><BR>>> Can you tell me how the Class SnmpEventLoop works? And I am looking <BR>>> forward for your replies<BR>><BR>>It is basically a hack to run the XORP event loop from the Net-SNMP <BR>>library event loop.<BR>><BR>>I've been of the opinion for a while that this should be rewritten to be <BR>>the other way around, but lacking motivation and/or funding to perform <BR>>the task, I have not.<BR>><BR>>thanks<BR>>BMS<BR></DIV>
<DIV>Thanks for Bruce's reply. </DIV>
<DIV>But can you tell me the detail about the <STRONG>communication</STRONG> between the Class SnmpEventLoop and the mibs(such as bgp4 and ospf)? I do not know which <STRONG>function</STRONG> in the files of xorpevents.cc and xorpevents.hh to get the informantion in mibs.</DIV>
<DIV> </DIV>
<DIV>Best wishes</DIV>
<DIV>Jin</DIV><br><!-- footer --><br><span title="neteasefooter"/><hr/>
<a href="http://512.mail.163.com/mailstamp/stamp/dz/activity.do?from=footer">穿越地震带 纪念汶川地震一周年</a>
</span>