SNMP v1/v2
or SnmpMsg result = new SnmpV3Message() ; // for SNMP v3 result.encodeSnmpPdu(pdu, maxPktSize) ; return result ; } To implement your own object, you can implement
SnmpPduFactory
or extend
SnmpPduFactoryBER
.
This API is a Sun Microsystems internal API and is subject to change without notice.