@Override public long getAccountingRecordNumber() throws AvpDataException { Avp accRecordNumberAvp = message.getAvps().getAvp(ACC_RECORD_NUMBER); if (accRecordNumberAvp != null) { return accRecordNumberAvp.getUnsigned32(); } else { throw new AvpDataException("Avp ACC_RECORD_NUMBER not found"); } } }
@Override public int getAccountingRecordType() throws AvpDataException { Avp accRecordTypeAvp = message.getAvps().getAvp(Avp.ACC_RECORD_TYPE); if (accRecordTypeAvp != null) { return accRecordTypeAvp.getInteger32(); } else { throw new AvpDataException("Avp ACC_RECORD_TYPE not found"); } }
@Override public String getOriginHost() throws AvpDataException { Avp originHostAvp = message.getAvps().getAvp(ORIGIN_HOST); if (originHostAvp != null) { return originHostAvp.getDiameterIdentity(); } else { throw new AvpDataException("Avp ORIGIN_HOST not found"); } }
@Override public long getAccountingRecordNumber() throws AvpDataException { Avp accRecordNumberAvp = message.getAvps().getAvp(ACC_RECORD_NUMBER); if (accRecordNumberAvp != null) { return accRecordNumberAvp.getUnsigned32(); } else { throw new AvpDataException("Avp ACC_RECORD_NUMBER not found"); } }
@Override public int getAccountingRecordType() throws AvpDataException { Avp accRecordTypeAvp = message.getAvps().getAvp(Avp.ACC_RECORD_TYPE); if (accRecordTypeAvp != null) { return accRecordTypeAvp.getInteger32(); } else { throw new AvpDataException("Avp ACC_RECORD_TYPE not found"); } }
@Override public String getDestinationHost() throws AvpDataException { Avp destHostAvp = message.getAvps().getAvp(DESTINATION_HOST); if (destHostAvp != null) { return destHostAvp.getDiameterIdentity(); } else { throw new AvpDataException("Avp DESTINATION_HOST not found"); } }
@Override public long getAuthApplicationId() throws AvpDataException { Avp authApplicationIdAvp = message.getAvps().getAvp(AUTH_APPLICATION_ID); if (authApplicationIdAvp != null) { return authApplicationIdAvp.getUnsigned32(); } else { throw new AvpDataException("Avp AUTH_APPLICATION_ID not found"); } }
@Override public int getReAuthRequestType() throws AvpDataException { Avp reAuthRequestTypeAvp = message.getAvps().getAvp(RE_AUTH_REQUEST_TYPE); if (reAuthRequestTypeAvp != null) { return reAuthRequestTypeAvp.getInteger32(); } else { throw new AvpDataException("Avp RE_AUTH_REQUEST_TYPE not found"); } } }
@Override public String getDestinationRealm() throws AvpDataException { Avp destRealmAvp = message.getAvps().getAvp(DESTINATION_REALM); if (destRealmAvp != null) { return destRealmAvp.getDiameterIdentity(); } else { throw new AvpDataException("Avp DESTINATION_REALM not found"); } } }
@Override public long getAccountingRecordNumber() throws AvpDataException { Avp accRecordNumberAvp = message.getAvps().getAvp(ACC_RECORD_NUMBER); if (accRecordNumberAvp != null) { return accRecordNumberAvp.getUnsigned32(); } else { throw new AvpDataException("Avp ACC_RECORD_NUMBER not found"); } } }
@Override public int getAccountingRecordType() throws AvpDataException { Avp accRecordTypeAvp = message.getAvps().getAvp(Avp.ACC_RECORD_TYPE); if (accRecordTypeAvp != null) { return accRecordTypeAvp.getInteger32(); } else { throw new AvpDataException("Avp ACC_RECORD_TYPE not found"); } }
@Override public String getOriginRealm() throws AvpDataException { Avp originRealmAvp = message.getAvps().getAvp(ORIGIN_REALM); if (originRealmAvp != null) { return originRealmAvp.getDiameterIdentity(); } else { throw new AvpDataException("Avp ORIGIN_REALM not found"); } }
@Override public long getAuthApplicationId() throws AvpDataException { Avp authApplicationIdAvp = message.getAvps().getAvp(AUTH_APPLICATION_ID); if (authApplicationIdAvp != null) { return authApplicationIdAvp.getUnsigned32(); } else { throw new AvpDataException("Avp AUTH_APPLICATION_ID not found"); } } }
@Override public int getTerminationCause() throws AvpDataException { Avp terminationCauseAvp = message.getAvps().getAvp(TERMINATION_CAUSE); if (terminationCauseAvp != null) { return terminationCauseAvp.getInteger32(); } else { throw new AvpDataException("Avp TERMINATION_CAUSE not found"); } } }
@Override public long getAuthApplicationId() throws AvpDataException { Avp authApplicationIdAvp = message.getAvps().getAvp(AUTH_APPLICATION_ID); if (authApplicationIdAvp != null) { return authApplicationIdAvp.getUnsigned32(); } else { throw new AvpDataException("Avp AUTH_APPLICATION_ID not found"); } }
@Override public int getAccountingRecordType() throws AvpDataException { Avp accRecordTypeAvp = message.getAvps().getAvp(Avp.ACC_RECORD_TYPE); if (accRecordTypeAvp != null) { return accRecordTypeAvp.getInteger32(); } else { throw new AvpDataException("Avp ACC_RECORD_TYPE not found"); } }
@Override public long getAccountingRecordNumber() throws AvpDataException { Avp accRecordNumberAvp = message.getAvps().getAvp(ACC_RECORD_NUMBER); if (accRecordNumberAvp != null) { return accRecordNumberAvp.getUnsigned32(); } else { throw new AvpDataException("Avp ACC_RECORD_NUMBER not found"); } } }