[SNMP4J] convert byte array to snmp4j PDU object

Frank Fock fock at agentpp.com
Thu Jul 4 00:17:09 CEST 2013


Hi,

The PDU object has everything you need. Just use the
PDU.decodeBER method.

Best regards,
Frank

Am 03.07.2013 11:11, schrieb obada jabban:
> Hello Dears
> I've implemented snmp4j to send and receive snmp v3 traps, and it was a
> great library.
> now my case is that i receive the trap as byte array using other transport
> and my question was:
> is there any method to convert received trap (byte array) to snmp PDU
> object to extract variables from it,
> I'v a lot of search but in vain
> any assistance is highly appreciated :)
>
> Best regards
> Muhammad Obada AlJabban
>
> **
>
> *Muhammad Obada AlJabban*
> Software Engineer
> +963 988 756003
>
> Obada.Aljabban at mobinets.com <Anas.ghamian at mobinets.com>
>
> www.mobinets.com
>
> <http://www.mobinets.com/>
>
> *Mobile Network Solutions for Next-Gen OSS*
> <http://www.spacetoon.com>
> _______________________________________________
> SNMP4J mailing list
> SNMP4J at agentpp.org
> http://lists.agentpp.org/mailman/listinfo/snmp4j

-- 
---
AGENT++
Maximilian-Kolbe-Str. 10
73257 Koengen, Germany
https://agentpp.com
Phone: +49 7024 8688230
Fax:   +49 7024 8688231




More information about the SNMP4J mailing list