@Override public TrapIdentity getTrapIdentity() { return new TrapIdentity(SnmpObjId.get(m_pdu.getEnterprise().getValue()), m_pdu.getGenericTrap(), m_pdu.getSpecificTrap()); }
@Override public TrapIdentity getTrapIdentity() { return new TrapIdentity(SnmpObjId.get(m_pdu.getEnterprise().getIdentifiers()), m_pdu.getGeneric(), m_pdu.getSpecific()); }
protected TrapIdentity getTrapIdentity() { return new TrapIdentity(SnmpObjId.get(m_pdu.getEnterprise().getValue()), m_pdu.getGenericTrap(), m_pdu.getSpecificTrap()); }
@Override public TrapIdentity getTrapIdentity() { return new TrapIdentity(SnmpObjId.get(m_pdu.getEnterprise().getIdentifiers()), m_pdu.getGeneric(), m_pdu.getSpecific()); }
protected TrapIdentity getTrapIdentity() { return new TrapIdentity(SnmpObjId.get(m_pdu.getEnterprise().getIdentifiers()), m_pdu.getGeneric(), m_pdu.getSpecific()); }
@Override public TrapIdentity getTrapIdentity() { return new TrapIdentity(SnmpObjId.get(m_pdu.getEnterprise().getValue()), m_pdu.getGenericTrap(), m_pdu.getSpecificTrap()); }
@Override public TrapIdentity getTrapIdentity() { // Get the value for the snmpTrapOID SnmpObjectId snmpTrapOid = (SnmpObjectId) m_pdu.getVarBindAt(V2TrapInformation.SNMP_TRAP_OID_INDEX).getValue(); SnmpObjectId lastVarBindOid = m_pdu.getVarBindAt(getPduLength() - 1).getName(); SnmpSyntax lastVarBindValue = m_pdu.getVarBindAt(getPduLength() - 1).getValue(); return new TrapIdentity(SnmpObjId.get(snmpTrapOid.getIdentifiers()), SnmpObjId.get(lastVarBindOid.getIdentifiers()), new JoeSnmpValue(lastVarBindValue)); }
@Override public TrapIdentity getTrapIdentity() { OID snmpTrapOid = (OID) getVarBindAt(SNMP_TRAP_OID_INDEX).getVariable(); OID lastVarBindOid = getVarBindAt(getPduLength() - 1).getOid(); Variable lastVarBindValue = getVarBindAt(getPduLength() - 1).getVariable(); return new TrapIdentity(SnmpObjId.get(snmpTrapOid.getValue()), SnmpObjId.get(lastVarBindOid.getValue()), new Snmp4JValue(lastVarBindValue)); }
@Override public TrapIdentity getTrapIdentity() { // Get the value for the snmpTrapOID SnmpObjectId snmpTrapOid = (SnmpObjectId) m_pdu.getVarBindAt(V2TrapInformation.SNMP_TRAP_OID_INDEX).getValue(); SnmpObjectId lastVarBindOid = m_pdu.getVarBindAt(getPduLength() - 1).getName(); SnmpSyntax lastVarBindValue = m_pdu.getVarBindAt(getPduLength() - 1).getValue(); return new TrapIdentity(SnmpObjId.get(snmpTrapOid.getIdentifiers()), SnmpObjId.get(lastVarBindOid.getIdentifiers()), new JoeSnmpValue(lastVarBindValue)); }
protected TrapIdentity getTrapIdentity() { OID snmpTrapOid = (OID) getVarBindAt(SNMP_TRAP_OID_INDEX).getVariable(); OID lastVarBindOid = getVarBindAt(getPduLength() - 1).getOid(); Variable lastVarBindValue = getVarBindAt(getPduLength() - 1).getVariable(); return new TrapIdentity(SnmpObjId.get(snmpTrapOid.getValue()), SnmpObjId.get(lastVarBindOid.getValue()), new Snmp4JValue(lastVarBindValue)); }
@Override public TrapIdentity getTrapIdentity() { OID snmpTrapOid = (OID) getVarBindAt(SNMP_TRAP_OID_INDEX).getVariable(); OID lastVarBindOid = getVarBindAt(getPduLength() - 1).getOid(); Variable lastVarBindValue = getVarBindAt(getPduLength() - 1).getVariable(); return new TrapIdentity(SnmpObjId.get(snmpTrapOid.getValue()), SnmpObjId.get(lastVarBindOid.getValue()), new Snmp4JValue(lastVarBindValue)); }
protected TrapIdentity getTrapIdentity() { // Get the value for the snmpTrapOID SnmpObjectId snmpTrapOid = (SnmpObjectId) getPdu().getVarBindAt(V2TrapInformation.SNMP_TRAP_OID_INDEX).getValue(); SnmpObjectId lastVarBindOid = getPdu().getVarBindAt(getPduLength() - 1).getName(); SnmpSyntax lastVarBindValue = getPdu().getVarBindAt(getPduLength() - 1).getValue(); return new TrapIdentity(SnmpObjId.get(snmpTrapOid.getIdentifiers()), SnmpObjId.get(lastVarBindOid.getIdentifiers()), new JoeSnmpValue(lastVarBindValue)); }