Package org.opennms.netmgt.trapd
Class TrapUtils
- java.lang.Object
-
- org.opennms.netmgt.trapd.TrapUtils
-
public class TrapUtils extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
GET_TRAP_ADDRESS_FROM_VARBIND_SYS_PROP
protected static SnmpObjId
SNMP_TRAP_ADDRESS_OID
SNMP-COMMUNITY-MIB: snmpTrapAddress (1.3.6.1.6.3.18.1.3.0) of type IpAddress
-
Constructor Summary
Constructors Constructor Description TrapUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static InetAddress
getEffectiveTrapAddress(TrapInformation trapInfo, boolean useAddressFromVarbind)
static SnmpVarBindDTO
getFirstVarBindWithOid(TrapInformation trapInfo, SnmpObjId oid)
-
-
-
Field Detail
-
SNMP_TRAP_ADDRESS_OID
protected static final SnmpObjId SNMP_TRAP_ADDRESS_OID
SNMP-COMMUNITY-MIB: snmpTrapAddress (1.3.6.1.6.3.18.1.3.0) of type IpAddress
-
GET_TRAP_ADDRESS_FROM_VARBIND_SYS_PROP
public static final String GET_TRAP_ADDRESS_FROM_VARBIND_SYS_PROP
- See Also:
- Constant Field Values
-
-
Method Detail
-
getEffectiveTrapAddress
public static InetAddress getEffectiveTrapAddress(TrapInformation trapInfo, boolean useAddressFromVarbind)
-
getFirstVarBindWithOid
public static SnmpVarBindDTO getFirstVarBindWithOid(TrapInformation trapInfo, SnmpObjId oid)
-
-