public void sendCancelLocationRequest(CancelLocationRequest clr) throws IOException { DiameterMessageImpl msg = (DiameterMessageImpl) clr; JCancelLocationRequestImpl request = new JCancelLocationRequestImpl((Answer) msg.getGenericData()); try { appSession.sendCancelLocationRequest(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()); } }
public void sendPushProfileRequest(PushProfileRequest pushProfileRequest) throws IOException { DiameterMessageImpl msg = (DiameterMessageImpl) pushProfileRequest; JPushProfileRequestImpl request = new JPushProfileRequestImpl(msg.getGenericData()); try { appSession.sendPushProfileRequest(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()); } }
public void sendResetAnswer(ResetAnswer rsa) throws IOException { DiameterMessageImpl msg = (DiameterMessageImpl) rsa; JResetAnswerImpl request = new JResetAnswerImpl((Answer) msg.getGenericData()); try { appSession.sendResetAnswer(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()); } }
public void sendResetRequest(ResetRequest rsr) throws IOException { DiameterMessageImpl msg = (DiameterMessageImpl) rsr; JResetRequestImpl request = new JResetRequestImpl((Answer) msg.getGenericData()); try { appSession.sendResetRequest(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()); } }
public void sendMultimediaAuthenticationAnswer(MultimediaAuthenticationAnswer multimediaAuthenticationAnswer) throws IOException { DiameterMessageImpl msg = (DiameterMessageImpl) multimediaAuthenticationAnswer; JMultimediaAuthAnswerImpl answer = new JMultimediaAuthAnswerImpl((Answer) msg.getGenericData()); try { appSession.sendMultimediaAuthAnswer(answer); } 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()); } }
public void sendServerAssignmentAnswer(ServerAssignmentAnswer serverAssignmentAnswer) throws IOException { DiameterMessageImpl msg = (DiameterMessageImpl) serverAssignmentAnswer; JServerAssignmentAnswerImpl answer = new JServerAssignmentAnswerImpl((Answer) msg.getGenericData()); try { appSession.sendServerAssignmentAnswer(answer); } 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()); } }
public void sendDeleteSubscriberDataAnswer(DeleteSubscriberDataAnswer dsa) throws IOException { DiameterMessageImpl msg = (DiameterMessageImpl) dsa; JDeleteSubscriberDataAnswerImpl request = new JDeleteSubscriberDataAnswerImpl((Answer) msg.getGenericData()); try { appSession.sendDeleteSubscriberDataAnswer(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()); } }
public void sendAuthenticationInformationAnswer(AuthenticationInformationAnswer aia) throws IOException { DiameterMessageImpl msg = (DiameterMessageImpl) aia; JAuthenticationInformationAnswerImpl answer = new JAuthenticationInformationAnswerImpl((Answer) msg.getGenericData()); try { appSession.sendAuthenticationInformationAnswer(answer); } 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()); } }
public void sendLocationInfoAnswer(LocationInfoAnswer locationInfoAnswer) throws IOException { DiameterMessageImpl msg = (DiameterMessageImpl) locationInfoAnswer; JLocationInfoAnswerImpl answer = new JLocationInfoAnswerImpl((Answer) msg.getGenericData()); try { appSession.sendLocationInformationAnswer(answer); } 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()); } }
public void sendCancelLocationAnswer(CancelLocationAnswer cla) throws IOException { DiameterMessageImpl msg = (DiameterMessageImpl) cla; JCancelLocationAnswerImpl request = new JCancelLocationAnswerImpl((Answer) msg.getGenericData()); try { appSession.sendCancelLocationAnswer(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()); } }
public void sendPurgeUERequest(PurgeUERequest pur) throws IOException { DiameterMessageImpl msg = (DiameterMessageImpl) pur; JPurgeUERequestImpl answer = new JPurgeUERequestImpl((Request) msg.getGenericData()); try { appSession.sendPurgeUERequest(answer); } 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()); } }
public void sendUpdateLocationAnswer(UpdateLocationAnswer ula) throws IOException { DiameterMessageImpl msg = (DiameterMessageImpl) ula; JUpdateLocationAnswerImpl answer = new JUpdateLocationAnswerImpl((Answer) msg.getGenericData()); try { appSession.sendUpdateLocationAnswer(answer); } 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()); } }
public void sendUpdateLocationRequest(UpdateLocationRequest ulr) throws IOException { DiameterMessageImpl msg = (DiameterMessageImpl) ulr; JUpdateLocationRequestImpl answer = new JUpdateLocationRequestImpl((Request) msg.getGenericData()); try { appSession.sendUpdateLocationRequest(answer); } 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()); } }
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()); } }
public void sendLocationInfoRequest(LocationInfoRequest locationInfoRequest) throws IOException { try{ DiameterMessageImpl msg = (DiameterMessageImpl) locationInfoRequest; appSession.sendLocationInformationRequest(new JLocationInfoRequestImpl(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()); } }
public void sendPushProfileAnswer(PushProfileAnswer pushProfileAnswer) throws IOException { try{ DiameterMessageImpl msg = (DiameterMessageImpl) pushProfileAnswer; appSession.sendPushProfileAnswer(new JPushProfileAnswerImpl((Answer) 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()); } }
public void sendServerAssignmentRequest(ServerAssignmentRequest serverAssignmentRequest) throws IOException { try{ DiameterMessageImpl msg = (DiameterMessageImpl) serverAssignmentRequest; appSession.sendServerAssignmentRequest(new JServerAssignmentRequestImpl(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()); } }
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()); } }
public void sendUserAuthorizationRequest(UserAuthorizationRequest userAuthorizationRequest) throws IOException { try { DiameterMessageImpl msg = (DiameterMessageImpl) userAuthorizationRequest; appSession.sendUserAuthorizationRequest(new JUserAuthorizationRequestImpl(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()); } }
public void sendRegistrationTerminationAnswer(RegistrationTerminationAnswer registrationTerminationAnswer) throws IOException { try{ DiameterMessageImpl msg = (DiameterMessageImpl) registrationTerminationAnswer; appSession.sendRegistrationTerminationAnswer(new JRegistrationTerminationAnswerImpl((Answer) 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()); } }