[SNMP4J] Trap Receiver

kenping kenping at os.org.cn
Sun Feb 20 05:03:35 CET 2005


Hi,
    of course, u can. u can look the SnmpRequest.listen() method to find the 
sample code.

...

    // add message processing models
    mtDispatcher.addMessageProcessingModel(new MPv1());
    mtDispatcher.addMessageProcessingModel(new MPv2c());
    mtDispatcher.addMessageProcessingModel(new MPv3());

...


Yours sincerely,
kenping
----- Original Message ----- 
From: "Hasmik Sarkezians" <hasmik at nortel.com>
To: <snmp4j at agentpp.org>
Sent: Saturday, February 19, 2005 3:15 AM
Subject: [SNMP4J] Trap Receiver


>
> I'd like to know whether if I can get various types of traps. Meaning if I
> am listening to port 162 to get traps, can I get snmpv1, snmpv2c and 
> snmpv3
> traps on this port? I cann't figure this out from looking at the source
> code.
>
> Thanks,
>
> hasmik
> _______________________________________________
> SNMP4J mailing list
> SNMP4J at agentpp.org
> http://lists.agentpp.org/mailman/listinfo/snmp4j
>
> 





More information about the SNMP4J mailing list