org.mobicents.protocols.ss7.map
public abstract class MAPServiceBaseImpl extends java.lang.Object implements MAPServiceBase
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Boolean |
_isActivated |
protected MAPProviderImpl |
mapProviderImpl |
protected java.util.List<MAPServiceListener> |
serviceListeners |
| Modifier | Constructor and Description |
|---|---|
protected |
MAPServiceBaseImpl(MAPProviderImpl mapProviderImpl) |
| Modifier and Type | Method and Description |
|---|---|
void |
acivate() |
protected void |
addMAPServiceListener(MAPServiceListener mapServiceListener) |
boolean |
checkInvokeTimeOut(MAPDialog dialog,
Invoke invoke)
This method is invoked when MAPProviderImpl.onInvokeTimeOut() is invoked.
|
protected abstract MAPDialogImpl |
createNewDialogIncoming(MAPApplicationContext appCntx,
Dialog tcapDialog)
Creation a MAP Dialog implementation for the specific service
|
protected Dialog |
createNewTCAPDialog(SccpAddress origAddress,
SccpAddress destAddress)
Creating new outgoing TCAP Dialog.
|
void |
deactivate() |
protected void |
deliverErrorComponent(MAPDialog mapDialog,
java.lang.Long invokeId,
MAPErrorMessage mapErrorMessage) |
protected void |
deliverInvokeTimeout(MAPDialog mapDialog,
Invoke invoke) |
protected void |
deliverProviderErrorComponent(MAPDialog mapDialog,
java.lang.Long invokeId,
MAPProviderError providerError) |
protected void |
deliverRejectComponent(MAPDialog mapDialog,
java.lang.Long invokeId,
Problem problem) |
MAPProvider |
getMAPProvider() |
MAPApplicationContext |
getMAPv1ApplicationContext(int operationCode,
Invoke invoke) |
boolean |
isActivated() |
abstract void |
processComponent(ComponentType compType,
OperationCode oc,
Parameter parameter,
MAPDialog mapDialog,
java.lang.Long invokeId,
java.lang.Long linkedId) |
protected void |
putMAPDialogIntoCollection(MAPDialogImpl dialog)
Adding MAP Dialog into MAPProviderImpl.dialogs Used when creating a new
outgoing MAP Dialog
|
protected void |
removeMAPServiceListener(MAPServiceListener mapServiceListener) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateNewDialog, isServingServiceprotected java.lang.Boolean _isActivated
protected java.util.List<MAPServiceListener> serviceListeners
protected MAPProviderImpl mapProviderImpl
protected MAPServiceBaseImpl(MAPProviderImpl mapProviderImpl)
public MAPProvider getMAPProvider()
getMAPProvider in interface MAPServiceBaseprotected abstract MAPDialogImpl createNewDialogIncoming(MAPApplicationContext appCntx, Dialog tcapDialog)
appCntx - tcapDialog - protected Dialog createNewTCAPDialog(SccpAddress origAddress, SccpAddress destAddress) throws MAPException
origAddress - destAddress - MAPExceptionpublic abstract void processComponent(ComponentType compType, OperationCode oc, Parameter parameter, MAPDialog mapDialog, java.lang.Long invokeId, java.lang.Long linkedId) throws MAPParsingComponentException
MAPParsingComponentExceptionprotected void putMAPDialogIntoCollection(MAPDialogImpl dialog)
dialog - protected void addMAPServiceListener(MAPServiceListener mapServiceListener)
protected void removeMAPServiceListener(MAPServiceListener mapServiceListener)
public MAPApplicationContext getMAPv1ApplicationContext(int operationCode, Invoke invoke)
public boolean checkInvokeTimeOut(MAPDialog dialog, Invoke invoke)
dialog - invoke - public boolean isActivated()
isActivated in interface MAPServiceBasepublic void acivate()
acivate in interface MAPServiceBasepublic void deactivate()
deactivate in interface MAPServiceBaseprotected void deliverErrorComponent(MAPDialog mapDialog, java.lang.Long invokeId, MAPErrorMessage mapErrorMessage)
protected void deliverRejectComponent(MAPDialog mapDialog, java.lang.Long invokeId, Problem problem)
protected void deliverProviderErrorComponent(MAPDialog mapDialog, java.lang.Long invokeId, MAPProviderError providerError)
Copyright © 2012. All Rights Reserved.