public abstract class MAPServiceBaseImpl extends Object implements MAPServiceBase
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
_isActivated |
protected MAPProviderImpl |
mapProviderImpl |
protected 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,
Long localTrId)
Creating new outgoing TCAP Dialog.
|
void |
deactivate() |
protected void |
deliverErrorComponent(MAPDialog mapDialog,
Long invokeId,
MAPErrorMessage mapErrorMessage) |
protected void |
deliverInvokeTimeout(MAPDialog mapDialog,
Invoke invoke) |
protected void |
deliverRejectComponent(MAPDialog mapDialog,
Long invokeId,
Problem problem,
boolean isLocalOriginated) |
long[] |
getLinkedOperationList(long operCode)
Returns a list of linked operations for operCode operation
|
MAPProvider |
getMAPProvider() |
MAPApplicationContext |
getMAPv1ApplicationContext(int operationCode,
Invoke invoke) |
boolean |
isActivated() |
abstract void |
processComponent(ComponentType compType,
OperationCode oc,
Parameter parameter,
MAPDialog mapDialog,
Long invokeId,
Long linkedId,
Invoke linkedInvoke) |
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, createNewDialog, isServingServiceprotected Boolean _isActivated
protected 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, Long localTrId) throws MAPException
origAddress - destAddress - MAPExceptionpublic abstract void processComponent(ComponentType compType, OperationCode oc, Parameter parameter, MAPDialog mapDialog, Long invokeId, Long linkedId, Invoke linkedInvoke) 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 long[] getLinkedOperationList(long operCode)
operCode - 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, Long invokeId, MAPErrorMessage mapErrorMessage)
protected void deliverRejectComponent(MAPDialog mapDialog, Long invokeId, Problem problem, boolean isLocalOriginated)
Copyright © 2016. All Rights Reserved.