[SNMP4J] Serializing a session

Kevin J. Schmidt kjschmidt at gmail.com
Wed Mar 23 19:47:27 CET 2005


I've written an application which sends SNMP notifications and traps.
I have created various unit tests (via JUnit) which create mock SNMP
listeners (using SNMP4j)  to wait for traps to come in from my
application code.

Instead of having one or more receivers sitting on a port (both sender
and receiver are on the same box), can I some how serialize the Snmp
session from the sender and hand it off (via synchronization and
shared data struct) to the receiver and let it "replay" the serialized
object?

Thanks,
-- 
Kevin J. Schmidt
<kjschmidt at gmail.com>



More information about the SNMP4J mailing list