[SNMP4J] Do I need a listener?

Mark Stang mstang at pingidentity.com
Thu Jul 19 19:55:11 CEST 2007


Hi,
I am sending v1 Traps via:

snmp.send(pdu, target, null, listener);

One of the parameters is a listener, however, it doesn't seem to be called.  Do I need to provide one if I am only sending Traps?  And if not, can I just pass in null?

thanks,

Mark

Mark J. Stang
Software Engineer
office: +1 303.468.2900
Ping Identity



-----Original Message-----
From: snmp4j-bounces at agentpp.org on behalf of Mark Stang
Sent: Thu 7/19/2007 11:44 AM
To: snmp4j at agentpp.org
Subject: [SNMP4J] How do I log Get Requests
 
Hi,
I have a requirement to log Get Requests in my log file.  Is there something I can register with to be called when a Get comes in?

thanks,

Mark

Mark J. Stang
Software Engineer
office: +1 303.468.2900
Ping Identity
_______________________________________________
SNMP4J mailing list
SNMP4J at agentpp.org
http://lists.agentpp.org/mailman/listinfo/snmp4j





More information about the SNMP4J mailing list