void function ( int arg0 , InetAddress arg1 , String arg2 , SNMPv1TrapPDU arg3 ) { SNMPMessage loc0 = new SNMPMessage ( arg0 , arg2 , arg3 ) ; byte [ ] loc1 = loc0 . getBEREncoding ( ) ; DatagramPacket loc2 = new DatagramPacket ( loc1 , loc1 . length , arg1 , remotePort ) ; dSocket . send ( loc2 ) ; }
send the supplied snmpv1 trap pdu to the specified host , using the supplied version number and community name . use version = 0 for snmp version 1 , or version = 1 for enhanced capabilities provided through rfc 1157 . concode_field_sep int remotePort concode_elem_sep DatagramSocket dSocket concode_elem_sep int SNMP_TRAP_PORT concode_field_sep String getHex concode_elem_sep String hexByte