<DIV>在2009-05-30&nbsp;22:48:18,"Bruce&nbsp;Simpson"&nbsp;&lt;bms@incunabulum.net&gt;&nbsp;写道:<BR>&gt;jjw0927&nbsp;wrote:<BR>&gt;&gt;&nbsp;Hi&nbsp;all,<BR>&gt;&gt;&nbsp;I&nbsp;want&nbsp;to&nbsp;know&nbsp;how&nbsp;Class&nbsp;SnmpEventLoop&nbsp;export&nbsp;events&nbsp;to&nbsp;the&nbsp;snmp&nbsp;<BR>&gt;&gt;&nbsp;agent.&nbsp;But&nbsp;after&nbsp;I&nbsp;have&nbsp;read&nbsp;the&nbsp;two&nbsp;source&nbsp;files(xorpevents.cc&nbsp;and&nbsp;<BR>&gt;&gt;&nbsp;xorpevents.hh)&nbsp;,&nbsp;I&nbsp;still&nbsp;do&nbsp;not&nbsp;know&nbsp;very&nbsp;clearly.<BR>&gt;&gt;<BR>&gt;&gt;&nbsp;Can&nbsp;you&nbsp;tell&nbsp;me&nbsp;how&nbsp;the&nbsp;Class&nbsp;SnmpEventLoop&nbsp;works?&nbsp;And&nbsp;I&nbsp;am&nbsp;looking&nbsp;<BR>&gt;&gt;&nbsp;forward&nbsp;for&nbsp;your&nbsp;replies<BR>&gt;<BR>&gt;It&nbsp;is&nbsp;basically&nbsp;a&nbsp;hack&nbsp;to&nbsp;run&nbsp;the&nbsp;XORP&nbsp;event&nbsp;loop&nbsp;from&nbsp;the&nbsp;Net-SNMP&nbsp;<BR>&gt;library&nbsp;event&nbsp;loop.<BR>&gt;<BR>&gt;I've&nbsp;been&nbsp;of&nbsp;the&nbsp;opinion&nbsp;for&nbsp;a&nbsp;while&nbsp;that&nbsp;this&nbsp;should&nbsp;be&nbsp;rewritten&nbsp;to&nbsp;be&nbsp;<BR>&gt;the&nbsp;other&nbsp;way&nbsp;around,&nbsp;but&nbsp;lacking&nbsp;motivation&nbsp;and/or&nbsp;funding&nbsp;to&nbsp;perform&nbsp;<BR>&gt;the&nbsp;task,&nbsp;I&nbsp;have&nbsp;not.<BR>&gt;<BR>&gt;thanks<BR>&gt;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&nbsp;and&nbsp;xorpevents.hh to get the informantion in mibs.</DIV>
<DIV>&nbsp;</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>