use of org.jdiameter.common.impl.app.cxdx.JMultimediaAuthRequestImpl in project jain-slee.diameter by RestComm.
the class CxDxClientSessionImpl method sendMultimediaAuthenticationRequest.
/* (non-Javadoc)
* @see net.java.slee.resource.diameter.cxdx.CxDxClientSession#sendMultimediaAuthenticationRequest(net.java.slee.resource.diameter.cxdx.events.MultimediaAuthenticationRequest)
*/
public void sendMultimediaAuthenticationRequest(MultimediaAuthenticationRequest multimediaAuthenticationRequest) throws IOException {
try {
DiameterMessageImpl msg = (DiameterMessageImpl) multimediaAuthenticationRequest;
appSession.sendMultimediaAuthRequest(new JMultimediaAuthRequestImpl(msg.getGenericData()));
} catch (org.jdiameter.api.validation.AvpNotAllowedException anae) {
throw new AvpNotAllowedException(anae.getMessage(), anae.getAvpCode(), anae.getVendorId());
} catch (Exception e) {
throw new IOException(e.getMessage());
}
}
Aggregations