use of org.jdiameter.common.impl.app.s6a.JNotifyRequestImpl in project jain-slee.diameter by RestComm.
the class S6aClientSessionImpl method sendNotifyRequest.
public void sendNotifyRequest(NotifyRequest nor) throws IOException {
DiameterMessageImpl msg = (DiameterMessageImpl) nor;
JNotifyRequestImpl request = new JNotifyRequestImpl((Request) msg.getGenericData());
try {
appSession.sendNotifyRequest(request);
} catch (org.jdiameter.api.validation.AvpNotAllowedException anae) {
throw new AvpNotAllowedException(anae.getMessage(), anae.getAvpCode(), anae.getVendorId());
} catch (Exception e) {
if (logger.isDebugEnabled()) {
logger.debug("Failed to send message.", e);
}
throw new IOException(e.getMessage());
}
}
Aggregations