[SNMP4J] Difference between addNotificationListener() and addCommandResponder

Frank Fock fock at agentpp.com
Wed Oct 11 19:02:53 CEST 2006


Hi Adam,

You can share the Snmp instance for various transport
mappings. This includes transport mappings created
on behalf calls to addNotificationListener(..).

Best regards,
Frank

Adam Brons wrote:
> 
> Thanks Frank,
> 
> for the response. That is exactly what I was looking for.
> 
> I do have one other question.
> 
> My SNMP Listener is doing to be listening to multiple transportmappings.
> For instance I may have it listening to TCP:10.1.2.145/161 and
> UDP:10.1.2.145/161. From what I gather I can use
> "addNotificationListener(...)" for both transports using only one Snmp
> object. Or should I have two instances of Snmp with one transportmapping
> per Snmp object?
> 
> Thanks - in advance,
> 
> Adam Brons
> TSOM Software Engineer
> IBM Tivoli Software_______________________________________________
> SNMP4J mailing list
> SNMP4J at agentpp.org
> http://lists.agentpp.org/mailman/listinfo/snmp4j

-- 
AGENT++
http://www.agentpp.com
http://www.mibexplorer.com
http://www.mibdesigner.com




More information about the SNMP4J mailing list