org.mobicents.protocols.ss7.map
public class MAPProviderImpl extends java.lang.Object implements MAPProvider, TCListener
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Map<java.lang.String,java.lang.String> |
congSources
Congestion sources name list.
|
protected java.util.Map<java.lang.Long,MAPDialogImpl> |
dialogs |
protected org.apache.log4j.Logger |
loger |
protected java.util.Set<MAPServiceBase> |
mapServices |
| Constructor and Description |
|---|
MAPProviderImpl(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 |
deliverDialogResease(MAPDialog mapDialog) |
protected void |
deliverDialogTimeout(MAPDialog mapDialog) |
protected TCBeginRequest |
encodeTCBegin(Dialog tcapDialog,
ApplicationContextName acn,
AddressString destReference,
AddressString origReference,
MAPExtensionContainer mapExtensionContainer) |
protected TCContinueRequest |
encodeTCContinue(Dialog tcapDialog,
java.lang.Boolean sendMapAcceptInfo,
ApplicationContextName acn,
MAPExtensionContainer mapExtensionContainer) |
protected TCEndRequest |
encodeTCEnd(Dialog tcapDialog,
java.lang.Boolean sendMapCloseInfo,
boolean prearrangedEnd,
ApplicationContextName acn,
MAPExtensionContainer mapExtensionContainer) |
protected void |
fireTCAbortProvider(Dialog tcapDialog,
MAPProviderAbortReason mapProviderAbortReason,
MAPExtensionContainer mapExtensionContainer)
Issue TC-U-ABORT with the ABRT apdu with MAPProviderAbortInfo
userInformation
|
protected void |
fireTCAbortRefused(Dialog tcapDialog,
Reason reason,
MAPExtensionContainer mapExtensionContainer)
Issue TC-U-ABORT with the "abort reason" = "dialogue-refused"
|
protected void |
fireTCAbortUser(Dialog tcapDialog,
MAPUserAbortChoice mapUserAbortChoice,
MAPExtensionContainer mapExtensionContainer)
Issue TC-U-ABORT with the ABRT apdu with MAPUserAbortInfo userInformation
|
protected void |
fireTCAbortV1(Dialog tcapDialog)
Issue TC-U-ABORT without any apdu - for MAP V1
|
protected void |
fireTCBegin(Dialog tcapDialog,
ApplicationContextName acn,
AddressString destReference,
AddressString origReference,
MAPExtensionContainer mapExtensionContainer) |
protected void |
fireTCContinue(Dialog tcapDialog,
java.lang.Boolean sendMapAcceptInfo,
ApplicationContextName acn,
MAPExtensionContainer mapExtensionContainer) |
protected void |
fireTCEnd(Dialog tcapDialog,
java.lang.Boolean sendMapCloseInfo,
boolean prearrangedEnd,
ApplicationContextName acn,
MAPExtensionContainer mapExtensionContainer) |
MAPDialog |
getMAPDialog(java.lang.Long dialogId) |
MAPErrorMessageFactory |
getMAPErrorMessageFactory() |
MAPParameterFactory |
getMAPParameterFactory() |
MAPServiceLsm |
getMAPServiceLsm() |
MAPServiceSms |
getMAPServiceSms() |
MAPServiceSupplementary |
getMAPServiceSupplementary() |
TCAPProvider |
getTCAPProvider() |
boolean |
isCongested() |
void |
onCongestionFinish(java.lang.String congName) |
void |
onCongestionStart(java.lang.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 |
onTCPAbort(TCPAbortIndication tcPAbortIndication) |
void |
onTCUni(TCUniIndication arg0) |
void |
onTCUserAbort(TCUserAbortIndication tcUserAbortIndication) |
protected void |
removeDialog(java.lang.Long dialogId) |
void |
removeMAPDialogListener(MAPDialogListener mapDialogListener) |
void |
start() |
void |
stop() |
protected org.apache.log4j.Logger loger
protected java.util.Map<java.lang.Long,MAPDialogImpl> dialogs
protected java.util.Map<java.lang.String,java.lang.String> congSources
protected java.util.Set<MAPServiceBase> mapServices
public MAPProviderImpl(TCAPProvider tcapProvider)
public TCAPProvider getTCAPProvider()
public 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 MAPErrorMessageFactory getMAPErrorMessageFactory()
getMAPErrorMessageFactory in interface MAPProviderpublic void removeMAPDialogListener(MAPDialogListener mapDialogListener)
removeMAPDialogListener in interface MAPProviderpublic MAPDialog getMAPDialog(java.lang.Long dialogId)
getMAPDialog in interface MAPProviderpublic void start()
public void stop()
protected void addDialog(MAPDialogImpl dialog)
protected void removeDialog(java.lang.Long dialogId)
public void onCongestionFinish(java.lang.String congName)
public void onCongestionStart(java.lang.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 TCListenerprotected void deliverDialogNotice(MAPDialog mapDialog, MAPNoticeProblemDiagnostic noticeProblemDiagnostic)
protected void deliverDialogResease(MAPDialog mapDialog)
protected void deliverDialogTimeout(MAPDialog mapDialog)
protected void fireTCBegin(Dialog tcapDialog, ApplicationContextName acn, AddressString destReference, AddressString origReference, MAPExtensionContainer mapExtensionContainer) throws MAPException
MAPExceptionprotected TCBeginRequest encodeTCBegin(Dialog tcapDialog, ApplicationContextName acn, AddressString destReference, AddressString origReference, MAPExtensionContainer mapExtensionContainer) throws MAPException
MAPExceptionprotected void fireTCContinue(Dialog tcapDialog, java.lang.Boolean sendMapAcceptInfo, ApplicationContextName acn, MAPExtensionContainer mapExtensionContainer) throws MAPException
MAPExceptionprotected TCContinueRequest encodeTCContinue(Dialog tcapDialog, java.lang.Boolean sendMapAcceptInfo, ApplicationContextName acn, MAPExtensionContainer mapExtensionContainer) throws MAPException
MAPExceptionprotected void fireTCEnd(Dialog tcapDialog, java.lang.Boolean sendMapCloseInfo, boolean prearrangedEnd, ApplicationContextName acn, MAPExtensionContainer mapExtensionContainer) throws MAPException
MAPExceptionprotected TCEndRequest encodeTCEnd(Dialog tcapDialog, java.lang.Boolean sendMapCloseInfo, boolean prearrangedEnd, ApplicationContextName acn, MAPExtensionContainer mapExtensionContainer) throws MAPException
MAPExceptionprotected void fireTCAbortRefused(Dialog tcapDialog, Reason reason, MAPExtensionContainer mapExtensionContainer) throws MAPException
tcapDialog - reason - mapExtensionContainer - MAPExceptionprotected void fireTCAbortUser(Dialog tcapDialog, MAPUserAbortChoice mapUserAbortChoice, MAPExtensionContainer mapExtensionContainer) throws MAPException
tcapDialog - mapUserAbortChoice - mapExtensionContainer - MAPExceptionprotected void fireTCAbortProvider(Dialog tcapDialog, MAPProviderAbortReason mapProviderAbortReason, MAPExtensionContainer mapExtensionContainer) throws MAPException
tcapDialog - mapProviderAbortReason - mapExtensionContainer - MAPExceptionprotected void fireTCAbortV1(Dialog tcapDialog) throws MAPException
tcapDialog - mapProviderAbortReason - mapExtensionContainer - MAPExceptionCopyright © 2012. All Rights Reserved.