@Override public void timeoutExpired(Request request) { if (request.getCommandCode() == JCreditControlAnswer.code) { try { handleSendFailure(null, null, request); } catch (Exception e) { logger.debug("Failure processing timeout message for request", e); } } }
@Override public void timeoutExpired(Request request) { if (request.getCommandCode() == GxCreditControlAnswer.code) { try { sendAndStateLock.lock(); handleSendFailure(null, null, request); } catch (Exception e) { logger.debug("Failure processing timeout message for request", e); } finally { sendAndStateLock.unlock(); } } }
@Override public void timeoutExpired(Request request) { if (request.getCommandCode() == RoCreditControlAnswer.code) { try { sendAndStateLock.lock(); handleSendFailure(null, null, request); } catch (Exception e) { logger.debug("Failure processing timeout message for request", e); } finally { sendAndStateLock.unlock(); } } }
public void run() { try { switch (request.getCommandCode()) { default: listener.doOtherEvent(session, new AppRequestEventImpl(request), null); break; } } catch (Exception e) { logger.debug("Failed to process request message", e); } } }
@Override public void run() { try { switch (request.getCommandCode()) { default: listener.doOtherEvent(session, new AppRequestEventImpl(request), null); break; } } catch (Exception e) { logger.debug("Failed to process request message", e); } } }
public void timeoutExpired(Request request) { // No timeout should make it here, session should exist. It's an error, report it. tracer.severe("Diameter CCA RA :: Received Timeout Message - RA should not get this, session should exist to handle it. Command-Code: " + request.getCommandCode() + ", Session-Id: " + request.getSessionId()); }
@Override public void timeoutExpired(Request request) { try { if (request.getCommandCode() == AbortSessionRequest.code) { handleEvent(new Event(Event.Type.SEND_ASR_FAILURE, new AbortSessionRequestImpl(request))); } else { logger.debug("Timeout for unknown request {}", request); } } catch (Exception e) { logger.debug("Can not handle event", e); } }
@Override public void timeoutExpired(Request request) { try { if (request.getCommandCode() == AbortSessionRequest.code) { handleEvent(new Event(Event.Type.SEND_ASR_FAILURE, new AbortSessionRequestImpl(request))); } else { logger.debug("Timeout for unknown request {}", request); } } catch (Exception e) { logger.debug("Can not handle event", e); } }
@Override public void run() { try { if (request.getCommandCode() == AbortSessionRequest.code) { handleEvent(new Event(Event.Type.RECEIVE_ABORT_SESSION_REQUEST, createAbortSessionRequest(request))); } else if (request.getCommandCode() == ReAuthRequest.code) { listener.doReAuthRequestEvent(session, createReAuthRequest(request)); } else { listener.doOtherEvent(session, factory.createAuthRequest(request), null); } } catch (Exception e) { logger.debug("Can not process received request", e); } } }
public void run() { try { switch (request.getCommandCode()) { case LocationReportRequest.code: handleEvent( new Event(Event.Type.RECEIVE_LRR, messageFactory.createLocationReportRequest(request), null)); break; default: listener.doOtherEvent(session, new AppRequestEventImpl(request), null); break; } } catch (Exception e) { logger.debug("Failed to process request message", e); } } }
@Override public void run() { try { switch (request.getCommandCode()) { case JMEIdentityCheckRequest.code: handleEvent(new Event(Event.Type.RECEIVE_ECR, messageFactory.createMEIdentityCheckRequest(request), null)); break; default: listener.doOtherEvent(session, new AppRequestEventImpl(request), null); break; } } catch (Exception e) { logger.debug("Failed to process request message", e); } } }
public void run() { try { switch (request.getCommandCode()) { case LCSRoutingInfoRequest.code: handleEvent( new Event(Event.Type.RECEIVE_RIR, messageFactory.createLCSRoutingInfoRequest(request), null)); break; default: listener.doOtherEvent(session, new AppRequestEventImpl(request), null); break; } } catch (Exception e) { logger.debug("Failed to process request message", e); } } }
public void run() { try { switch (request.getCommandCode()) { case ProvideLocationRequest.code: handleEvent( new Event(Event.Type.RECEIVE_PLR, messageFactory.createProvideLocationRequest(request), null)); break; default: listener.doOtherEvent(session, new AppRequestEventImpl(request), null); break; } } catch (Exception e) { logger.debug("Failed to process request message", e); } } }
@Override public void run() { try { switch (request.getCommandCode()) { case GxReAuthAnswer.code: handleEvent(new Event(Event.Type.RECEIVED_RAR, factory.createGxReAuthRequest(request), null)); break; default: listener.doOtherEvent(session, new AppRequestEventImpl(request), null); break; } } catch (Exception e) { logger.debug("Failure processing request", e); } } }
@Override public void run() { try { switch (request.getCommandCode()) { case ReAuthAnswer.code: handleEvent(new Event(Event.Type.RECEIVED_RAR, factory.createReAuthRequest(request), null)); break; default: listener.doOtherEvent(session, new AppRequestEventImpl(request), null); break; } } catch (Exception e) { logger.debug("Failure processing request", e); } } }
@Override public void run() { try { switch (request.getCommandCode()) { case RoCreditControlAnswer.code: handleEvent(new Event(true, factory.createCreditControlRequest(request), null)); break; default: listener.doOtherEvent(session, new AppRequestEventImpl(request), null); break; } } catch (Exception e) { logger.debug("Failed to process request message", e); } } }
@Override public void run() { try { switch (request.getCommandCode()) { case JCreditControlAnswer.code: handleEvent(new Event(true, factory.createCreditControlRequest(request), null)); break; default: listener.doOtherEvent(session, new AppRequestEventImpl(request), null); break; } } catch (Exception e) { logger.debug("Failed to process request message", e); } } }
@Override public void run() { try { switch (request.getCommandCode()) { case ReAuthAnswer.code: handleEvent(new Event(Event.Type.RECEIVED_RAR, factory.createReAuthRequest(request), null)); break; default: listener.doOtherEvent(session, new AppRequestEventImpl(request), null); break; } } catch (Exception e) { logger.debug("Failure processing request", e); } } }
@Override public void run() { try { switch (request.getCommandCode()) { case GxCreditControlAnswer.code: handleEvent(new Event(true, factory.createCreditControlRequest(request), null)); break; default: listener.doOtherEvent(session, new AppRequestEventImpl(request), null); break; } } catch (Exception e) { logger.debug("Failed to process request message", e); } } }
@Override public void run() { try { if (request.getApplicationId() == factory.getApplicationId()) { if (request.getCommandCode() == PushNotificationRequest.code) { handleEvent(new Event(Event.Type.RECEIVE_PUSH_NOTIFICATION_REQUEST, factory.createPushNotificationRequest(request), null)); return; } } listener.doOtherEvent(session, new AppRequestEventImpl(request), null); } catch (Exception e) { logger.debug("Failed to process request {}", request, e); } } }