use of org.jdiameter.common.impl.app.auth.AbortSessionRequestImpl in project jain-slee.diameter by RestComm.
the class AuthServerSessionActivityImpl method sendAbortSessionRequest.
public void sendAbortSessionRequest(AbortSessionRequest request) throws IOException {
try {
// super.sendMessage(request);
DiameterMessageImpl msg = (DiameterMessageImpl) request;
this.serverSession.sendAbortSessionRequest(new AbortSessionRequestImpl(msg.getGenericData()));
} catch (org.jdiameter.api.validation.AvpNotAllowedException e) {
throw new AvpNotAllowedException("Message validation failed.", e, e.getAvpCode(), e.getVendorId());
} catch (Exception e) {
throw new IOException("Failed to send message, due to: " + e.getMessage());
}
}
Aggregations