[SNMP4J] Detect the receiving SNMP Message
Frank Fock
fock at agentpp.com
Mon Sep 26 23:46:39 CEST 2005
Hi Andrew,
Just call CommandResponderEvent.getMessageProcessingModel() and you will
get the SNMP version.
Best regards,
Frank
Andrew Chan wrote:
>Dear all,
> I am trying to writing code to receive SNMP request, I know how to write
>it by referencing the example in Package org.snmp4j. However, how do we know
>the SNMP version (v1, v2c or v3) of incoming message?
> What I am expecting is to get the "target" from the CommandResponderEvent,
>but seems this is not the case.
> Am I doing something wrong?
> Thanks.
>AC
>_______________________________________________
>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