Changes for version 1.06 - 2006-09-12
- finish() behavior was broken... calling finish() for one session finished (well, broke) the entire component, PERMANENTLY. oops. removed all references to the internal "_abort" flag. now the caveat is, if you finish() using POE::Kernel->call() in the same event that you've made requests, the program will hang because there will be stray events. use post(), or yield() instead. Thanks to Kenny Flegal for the spot *and* the test case.
- cleaned up the -localport logic a little bit... added a do..while() where I had a while() plus the same line of code twice.
- added a 'trap2c' method a version or two ago... but forgot to add it to the states list in the constructor for the PoCo::SNMP session. This meant that anybody trying to use it would silently fail. oops. same for 'callback_args'. oops twice.
- did a little bit of refactoring in Dispatcher.pm to make identifiers "tell the story" a little better, cuz on a re-read of the logic it wasn't "instantly clear" what I'd been trying to do. __dispatch_pdu and __dispatch_pending_pdu read more clearly now.
- made my debugging functions a little better at no-op'ing when not debugging, resulting in a small improvement in "make test" times.
Modules
POE interface to Net::SNMP
Provides
in lib/POE/Component/SNMP/Dispatcher.pm
in lib/POE/Component/SNMP.pm