public class Snmp4JUtils extends Object
| Constructor and Description | 
|---|
Snmp4JUtils()  | 
| Modifier and Type | Method and Description | 
|---|---|
static byte[] | 
convertPduToBytes(InetAddress address,
                 int port,
                 String community,
                 org.snmp4j.PDU pdu)  | 
public static byte[] convertPduToBytes(InetAddress address, int port, String community, org.snmp4j.PDU pdu) throws Exception
address - port - community - pdu - PDU in either SNMPv1 or SNMPv2 
 format, depending on the type of the PDU object.ExceptionCopyright © 2021. All rights reserved.