@Override public PAbortCauseType getPAbortCause() { return this.wrappedComponent.getPAbortCause(); }
@Override public SccpAddress getOriginatingAddress() { return this.wrappedComponent.getOriginatingAddress(); }
@Override public void onTCBegin(TCBeginIndication ind) { this.curTcapDialog = (DialogImpl) ind.getDialog(); }
@Override public void onTCEnd(TCEndIndication tcEndIndication) { Dialog wrappedDialog = tcEndIndication.getDialog(); TCAPDialogWrapper tcapDialogWrapper = (TCAPDialogWrapper) wrappedDialog.getUserObject(); this.onEvent(TCAPEvent.EVENT_TYPE_NAME_DIALOG_END, tcapDialogWrapper, tcapDialogWrapper); Component[] components = tcEndIndication.getComponents(); this.processComponents(tcapDialogWrapper, components); }
@Override public void onTCContinue(TCContinueIndication tcContinueIndication) { Dialog wrappedDialog = tcContinueIndication.getDialog(); TCAPDialogWrapper tcapDialogWrapper = (TCAPDialogWrapper) wrappedDialog.getUserObject(); this.onEvent(TCAPEvent.EVENT_TYPE_NAME_DIALOG_CONTINUE, tcapDialogWrapper, tcapDialogWrapper); Component[] components = tcContinueIndication.getComponents(); this.processComponents(tcapDialogWrapper, components); }
@Override public void onTCPAbort(TCPAbortIndication ind) { this.curTcapDialog = (DialogImpl) ind.getDialog(); }
@Override public void onTCUserAbort(TCUserAbortIndication ind) { this.curTcapDialog = (DialogImpl) ind.getDialog(); }
@Override public void onTCEnd(TCEndIndication ind) { this.curTcapDialog = (DialogImpl) ind.getDialog(); }
@Override public void onTCContinue(TCContinueIndication ind) { this.curTcapDialog = (DialogImpl) ind.getDialog(); }
@Override public void onTCNotice(TCNoticeIndication tcNoticeIndication) { Dialog wrappedDialog = tcNoticeIndication.getDialog(); TCAPDialogWrapper tcapDialogWrapper = (TCAPDialogWrapper) wrappedDialog.getUserObject(); this.onEvent(TCAPEvent.EVENT_TYPE_NAME_DIALOG_NOTICE, tcapDialogWrapper, tcapDialogWrapper); }
@Override public ResultSourceDiagnostic getResultSourceDiagnostic() { return this.wrappedComponent.getResultSourceDiagnostic(); }
@Override public Boolean IsAareApdu() { return this.wrappedComponent.IsAareApdu(); }
@Override public UserInformation getUserInformation() { return this.wrappedComponent.getUserInformation(); }
@Override public void onTCUni(TCUniIndication ind) { this.curTcapDialog = (DialogImpl) ind.getDialog(); }
@Override public ApplicationContextName getApplicationContextName() { return this.wrappedComponent.getApplicationContextName(); }
@Override public Boolean IsAbrtApdu() { return this.wrappedComponent.IsAbrtApdu(); }
@Override public AbortSource getAbortSource() { return this.wrappedComponent.getAbortSource(); }
@Override public void onTCPAbort(TCPAbortIndication ind) { LOGGER.debug("TCAPListenerImscfAdapter ind={} delegating onTCPAbort call", ind); NamedTCListener listener = findProperListener(ind.getDialog()); if (listener != null) { listener.onTCPAbort(ind); } for (TCListener lst : tcListeners) { lst.onTCPAbort(ind); } }
@Override public void onTCUserAbort(TCUserAbortIndication tcUserAbortIndication) { Dialog wrappedDialog = tcUserAbortIndication.getDialog(); TCAPDialogWrapper tcapDialogWrapper = (TCAPDialogWrapper) wrappedDialog.getUserObject(); UserAbortEventImpl userAbortEvent = new UserAbortEventImpl(tcapDialogWrapper, tcUserAbortIndication); this.onEvent(TCAPEvent.EVENT_TYPE_NAME_DIALOG_USERABORT, tcapDialogWrapper, userAbortEvent); // this.onEvent(TCAPEvent.EVENT_TYPE_NAME_DIALOG_USERABORT, tcapDialogWrapper, tcapDialogWrapper); }
@Override public void onTCPAbort(TCPAbortIndication tcPAbortIndication) { Dialog wrappedDialog = tcPAbortIndication.getDialog(); TCAPDialogWrapper tcapDialogWrapper = (TCAPDialogWrapper) wrappedDialog.getUserObject(); ProviderAbortEventImpl providerAbortEvent = new ProviderAbortEventImpl(tcapDialogWrapper, tcPAbortIndication); this.onEvent(TCAPEvent.EVENT_TYPE_NAME_DIALOG_PROVIDERABORT, tcapDialogWrapper, providerAbortEvent); // this.onEvent(TCAPEvent.EVENT_TYPE_NAME_DIALOG_PROVIDERABORT, tcapDialogWrapper, tcapDialogWrapper); }