public class MAPProviderImpl extends Object implements MAPProvider, TCListener
| Modifier and Type | Field and Description |
|---|---|
protected javolution.util.FastMap<String,String> |
congSources
Congestion sources name list.
|
protected javolution.util.FastMap<Long,MAPDialogImpl> |
dialogs |
protected org.apache.log4j.Logger |
loger |
protected Set<MAPServiceBase> |
mapServices |
| Constructor and Description |
|---|
MAPProviderImpl(String name,
TCAPProvider tcapProvider)
public common methods
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addDialog(MAPDialogImpl dialog)
protected common methods
|
void |
addMAPDialogListener(MAPDialogListener mapDialogListener) |
protected void |
deliverDialogNotice(MAPDialog mapDialog,
MAPNoticeProblemDiagnostic noticeProblemDiagnostic) |
protected void |
deliverDialogRelease(MAPDialog mapDialog) |
protected void |
deliverDialogTimeout(MAPDialog mapDialog) |
protected TCBeginRequest |
encodeTCBegin(Dialog tcapDialog,
ApplicationContextName acn,
AddressString destReference,
AddressString origReference,
MAPExtensionContainer mapExtensionContainer,
boolean eriStyle,
IMSI eriImsi,
AddressString eriVlrNo) |
protected TCContinueRequest |
encodeTCContinue(Dialog tcapDialog,
Boolean sendMapAcceptInfo,
ApplicationContextName acn,
MAPExtensionContainer mapExtensionContainer) |
protected TCEndRequest |
encodeTCEnd(Dialog tcapDialog,
Boolean sendMapCloseInfo,
boolean prearrangedEnd,
ApplicationContextName acn,
MAPExtensionContainer mapExtensionContainer) |
protected void |
fireTCAbortProvider(Dialog tcapDialog,
MAPProviderAbortReason mapProviderAbortReason,
MAPExtensionContainer mapExtensionContainer,
boolean returnMessageOnError)
Issue TC-U-ABORT with the ABRT apdu with MAPProviderAbortInfo userInformation
|
protected void |
fireTCAbortRefused(Dialog tcapDialog,
Reason reason,
MAPExtensionContainer mapExtensionContainer,
boolean returnMessageOnError)
Issue TC-U-ABORT with the "abort reason" = "dialogue-refused"
|
protected void |
fireTCAbortUser(Dialog tcapDialog,
MAPUserAbortChoice mapUserAbortChoice,
MAPExtensionContainer mapExtensionContainer,
boolean returnMessageOnError)
Issue TC-U-ABORT with the ABRT apdu with MAPUserAbortInfo userInformation
|
protected void |
fireTCAbortV1(Dialog tcapDialog,
boolean returnMessageOnError)
Issue TC-U-ABORT without any apdu - for MAP V1
|
protected void |
fireTCBegin(Dialog tcapDialog,
ApplicationContextName acn,
AddressString destReference,
AddressString origReference,
MAPExtensionContainer mapExtensionContainer,
boolean isEriStyle,
IMSI imsiEri,
AddressString vlrNoEri,
boolean returnMessageOnError) |
protected void |
fireTCContinue(Dialog tcapDialog,
Boolean sendMapAcceptInfo,
ApplicationContextName acn,
MAPExtensionContainer mapExtensionContainer,
boolean returnMessageOnError) |
protected void |
fireTCEnd(Dialog tcapDialog,
Boolean sendMapCloseInfo,
boolean prearrangedEnd,
ApplicationContextName acn,
MAPExtensionContainer mapExtensionContainer,
boolean returnMessageOnError) |
MAPDialog |
getMAPDialog(Long dialogId) |
MAPErrorMessageFactory |
getMAPErrorMessageFactory() |
MAPParameterFactory |
getMAPParameterFactory() |
MAPServiceCallHandling |
getMAPServiceCallHandling() |
MAPServiceLsm |
getMAPServiceLsm() |
MAPServiceMobility |
getMAPServiceMobility() |
MAPServiceOam |
getMAPServiceOam() |
MAPServicePdpContextActivation |
getMAPServicePdpContextActivation() |
MAPServiceSms |
getMAPServiceSms() |
MAPServiceSupplementary |
getMAPServiceSupplementary() |
MAPSmsTpduParameterFactory |
getMAPSmsTpduParameterFactory() |
TCAPProvider |
getTCAPProvider() |
boolean |
isCongested() |
void |
onCongestionFinish(String congName) |
void |
onCongestionStart(String congName) |
void |
onDialogReleased(Dialog tcapDialog) |
void |
onDialogTimeout(Dialog tcapDialog) |
void |
onInvokeTimeout(Invoke invoke) |
void |
onTCBegin(TCBeginIndication tcBeginIndication) |
void |
onTCContinue(TCContinueIndication tcContinueIndication) |
void |
onTCEnd(TCEndIndication tcEndIndication) |
void |
onTCNotice(TCNoticeIndication ind) |
void |
onTCPAbort(TCPAbortIndication tcPAbortIndication) |
void |
onTCUni(TCUniIndication arg0) |
void |
onTCUserAbort(TCUserAbortIndication tcUserAbortIndication) |
protected MAPDialogImpl |
removeDialog(Long dialogId) |
void |
removeMAPDialogListener(MAPDialogListener mapDialogListener) |
void |
start() |
void |
stop() |
protected final transient org.apache.log4j.Logger loger
protected transient javolution.util.FastMap<Long,MAPDialogImpl> dialogs
protected transient javolution.util.FastMap<String,String> congSources
protected transient Set<MAPServiceBase> mapServices
public MAPProviderImpl(String name, TCAPProvider tcapProvider)
public TCAPProvider getTCAPProvider()
public MAPServiceMobility getMAPServiceMobility()
getMAPServiceMobility in interface MAPProviderpublic MAPServiceCallHandling getMAPServiceCallHandling()
getMAPServiceCallHandling in interface MAPProviderpublic MAPServiceOam getMAPServiceOam()
getMAPServiceOam in interface MAPProviderpublic MAPServicePdpContextActivation getMAPServicePdpContextActivation()
getMAPServicePdpContextActivation in interface MAPProviderpublic MAPServiceSupplementary getMAPServiceSupplementary()
getMAPServiceSupplementary in interface MAPProviderpublic MAPServiceSms getMAPServiceSms()
getMAPServiceSms in interface MAPProviderpublic MAPServiceLsm getMAPServiceLsm()
getMAPServiceLsm in interface MAPProviderpublic void addMAPDialogListener(MAPDialogListener mapDialogListener)
addMAPDialogListener in interface MAPProviderpublic MAPParameterFactory getMAPParameterFactory()
getMAPParameterFactory in interface MAPProviderpublic MAPSmsTpduParameterFactory getMAPSmsTpduParameterFactory()
getMAPSmsTpduParameterFactory in interface MAPProviderpublic MAPErrorMessageFactory getMAPErrorMessageFactory()
getMAPErrorMessageFactory in interface MAPProviderpublic void removeMAPDialogListener(MAPDialogListener mapDialogListener)
removeMAPDialogListener in interface MAPProviderpublic MAPDialog getMAPDialog(Long dialogId)
getMAPDialog in interface MAPProviderpublic void start()
public void stop()
protected void addDialog(MAPDialogImpl dialog)
protected MAPDialogImpl removeDialog(Long dialogId)
public void onCongestionFinish(String congName)
public void onCongestionStart(String congName)
public boolean isCongested()
public void onTCBegin(TCBeginIndication tcBeginIndication)
onTCBegin in interface TCListenerpublic void onTCContinue(TCContinueIndication tcContinueIndication)
onTCContinue in interface TCListenerpublic void onTCEnd(TCEndIndication tcEndIndication)
onTCEnd in interface TCListenerpublic void onTCUni(TCUniIndication arg0)
onTCUni in interface TCListenerpublic void onInvokeTimeout(Invoke invoke)
onInvokeTimeout in interface TCListenerpublic void onDialogTimeout(Dialog tcapDialog)
onDialogTimeout in interface TCListenerpublic void onDialogReleased(Dialog tcapDialog)
onDialogReleased in interface TCListenerpublic void onTCPAbort(TCPAbortIndication tcPAbortIndication)
onTCPAbort in interface TCListenerpublic void onTCUserAbort(TCUserAbortIndication tcUserAbortIndication)
onTCUserAbort in interface TCListenerpublic void onTCNotice(TCNoticeIndication ind)
onTCNotice in interface TCListenerprotected void deliverDialogNotice(MAPDialog mapDialog, MAPNoticeProblemDiagnostic noticeProblemDiagnostic)
protected void deliverDialogRelease(MAPDialog mapDialog)
protected void deliverDialogTimeout(MAPDialog mapDialog)
protected void fireTCBegin(Dialog tcapDialog, ApplicationContextName acn, AddressString destReference, AddressString origReference, MAPExtensionContainer mapExtensionContainer, boolean isEriStyle, IMSI imsiEri, AddressString vlrNoEri, boolean returnMessageOnError) throws MAPException
MAPExceptionprotected TCBeginRequest encodeTCBegin(Dialog tcapDialog, ApplicationContextName acn, AddressString destReference, AddressString origReference, MAPExtensionContainer mapExtensionContainer, boolean eriStyle, IMSI eriImsi, AddressString eriVlrNo) throws MAPException
MAPExceptionprotected void fireTCContinue(Dialog tcapDialog, Boolean sendMapAcceptInfo, ApplicationContextName acn, MAPExtensionContainer mapExtensionContainer, boolean returnMessageOnError) throws MAPException
MAPExceptionprotected TCContinueRequest encodeTCContinue(Dialog tcapDialog, Boolean sendMapAcceptInfo, ApplicationContextName acn, MAPExtensionContainer mapExtensionContainer) throws MAPException
MAPExceptionprotected void fireTCEnd(Dialog tcapDialog, Boolean sendMapCloseInfo, boolean prearrangedEnd, ApplicationContextName acn, MAPExtensionContainer mapExtensionContainer, boolean returnMessageOnError) throws MAPException
MAPExceptionprotected TCEndRequest encodeTCEnd(Dialog tcapDialog, Boolean sendMapCloseInfo, boolean prearrangedEnd, ApplicationContextName acn, MAPExtensionContainer mapExtensionContainer) throws MAPException
MAPExceptionprotected void fireTCAbortRefused(Dialog tcapDialog, Reason reason, MAPExtensionContainer mapExtensionContainer, boolean returnMessageOnError) throws MAPException
tcapDialog - reason - mapExtensionContainer - MAPExceptionprotected void fireTCAbortUser(Dialog tcapDialog, MAPUserAbortChoice mapUserAbortChoice, MAPExtensionContainer mapExtensionContainer, boolean returnMessageOnError) throws MAPException
tcapDialog - mapUserAbortChoice - mapExtensionContainer - MAPExceptionprotected void fireTCAbortProvider(Dialog tcapDialog, MAPProviderAbortReason mapProviderAbortReason, MAPExtensionContainer mapExtensionContainer, boolean returnMessageOnError) throws MAPException
tcapDialog - mapProviderAbortReason - mapExtensionContainer - MAPExceptionprotected void fireTCAbortV1(Dialog tcapDialog, boolean returnMessageOnError) throws MAPException
tcapDialog - returnMessageOnError - MAPExceptionCopyright © 2016. All Rights Reserved.