[SNMP4J] Receiving GET requests

Bruno Tessier btessier at nakinasystems.com
Wed Apr 5 17:18:51 CEST 2006


Hi all,

I have a little program created with SNMP4j that's listening to traps
being sent its way.  Basically, I add a CommandResponder to my SNMP
object, call the listen() method on the Transport object, and my
CommandResponder handles the traps coming in through the processPdu(..)
method.

Now, my question is, would it work pretty much the same for when GET
(GET, GET-NEXT, GETBULK) requests are sent to my application?  I would
do the same thing as mentioned above, and it would be my processPdu(..)
method that would get the requests and handles them, right?

Thanks,
Bruno





More information about the SNMP4J mailing list