public abstract class MtCommonSbb extends Object implements javax.slee.Sbb, ReportSMDeliveryStatusInterface2
| Modifier and Type | Class and Description |
|---|---|
static class |
MtCommonSbb.ErrorAction |
| Modifier and Type | Field and Description |
|---|---|
protected javax.slee.facilities.Tracer |
logger |
protected static String |
MAP_USER_ABORT_CHOICE_UNKNOWN |
protected static String |
MAP_USER_ABORT_CHOICE_USER_RESOURCE_LIMITATION |
protected static String |
MAP_USER_ABORT_CHOICE_USER_SPECIFIC_REASON |
protected org.mobicents.slee.resource.map.MAPContextInterfaceFactory |
mapAcif |
protected org.mobicents.protocols.ss7.map.api.MAPParameterFactory |
mapParameterFactory |
protected org.mobicents.protocols.ss7.map.api.MAPProvider |
mapProvider |
protected org.mobicents.protocols.ss7.map.api.MAPSmsTpduParameterFactory |
mapSmsTpduParameterFactory |
protected PersistenceRAInterface |
persistence |
protected org.mobicents.slee.SbbContextExt |
sbbContext |
protected org.mobicents.protocols.ss7.sccp.parameter.ParameterFactory |
sccpParameterFact |
protected SchedulerRaSbbInterface |
scheduler |
protected static SmscPropertiesManagement |
smscPropertiesManagement |
protected SmscStatAggregator |
smscStatAggregator |
| Constructor and Description |
|---|
MtCommonSbb(String className) |
| Modifier and Type | Method and Description |
|---|---|
abstract long |
doGetCurrentMsgNum() |
abstract InformServiceCenterContainer |
doGetInformServiceCenterContainer() |
abstract SmsSubmitData |
doGetSmsSubmitData() |
abstract void |
doSetCurrentMsgNum(long currentMsgNum) |
abstract void |
doSetInformServiceCenterContainer(InformServiceCenterContainer informServiceCenterContainer) |
abstract void |
doSetSmsSubmitData(SmsSubmitData smsDeliveryData) |
protected void |
freeSmsSetFailured(SmsSet smsSet,
PersistenceRAInterface pers,
long currentMsgNum)
remove smsSet from LIVE database after permanent delivery failure
|
protected void |
freeSmsSetSucceded(SmsSet smsSet,
PersistenceRAInterface pers)
remove smsSet from LIVE database after all messages has been delivered
|
protected org.mobicents.protocols.ss7.map.api.primitives.ISDNAddressString |
getCalledPartyISDNAddressString(String destinationAddress,
int ton,
int npi) |
protected String |
getRejectComponentReason(org.mobicents.slee.resource.map.events.RejectComponent event) |
SchedulerRaSbbInterface |
getScheduler() |
protected javax.slee.ActivityContextInterface |
getSchedulerActivityContextInterface()
Get the Scheduler Activity
|
protected org.mobicents.protocols.ss7.map.api.primitives.AddressString |
getServiceCenterAddressString(int networkId)
TODO : This is repetitive in each Sbb.
|
protected org.mobicents.protocols.ss7.sccp.parameter.SccpAddress |
getServiceCenterSccpAddress(int networkId)
TODO: This should be configurable and static as well
This is our (Service Center) SCCP Address for GT
|
PersistenceRAInterface |
getStore() |
protected String |
getUserAbortReason(org.mobicents.slee.resource.map.events.DialogUserAbort evt) |
protected void |
onDeliveryError(SmsSet smsSet,
MtCommonSbb.ErrorAction errorAction,
ErrorCode smStatus,
String reason,
boolean removeSmsSet,
org.mobicents.protocols.ss7.map.api.errors.MAPErrorMessage errMessage,
boolean isImsiVlrReject) |
void |
onDialogAccept(org.mobicents.slee.resource.map.events.DialogAccept evt,
javax.slee.ActivityContextInterface aci) |
void |
onDialogClose(org.mobicents.slee.resource.map.events.DialogClose evt,
javax.slee.ActivityContextInterface aci) |
void |
onDialogDelimiter(org.mobicents.slee.resource.map.events.DialogDelimiter evt,
javax.slee.ActivityContextInterface aci) |
void |
onDialogNotice(org.mobicents.slee.resource.map.events.DialogNotice evt,
javax.slee.ActivityContextInterface aci) |
void |
onDialogProviderAbort(org.mobicents.slee.resource.map.events.DialogProviderAbort evt,
javax.slee.ActivityContextInterface aci) |
void |
onDialogReject(org.mobicents.slee.resource.map.events.DialogReject evt,
javax.slee.ActivityContextInterface aci)
Dialog Events
|
void |
onDialogRelease(org.mobicents.slee.resource.map.events.DialogRelease evt,
javax.slee.ActivityContextInterface aci) |
void |
onDialogRequest(org.mobicents.slee.resource.map.events.DialogRequest evt,
javax.slee.ActivityContextInterface aci) |
void |
onDialogTimeout(org.mobicents.slee.resource.map.events.DialogTimeout evt,
javax.slee.ActivityContextInterface aci) |
void |
onDialogUserAbort(org.mobicents.slee.resource.map.events.DialogUserAbort evt,
javax.slee.ActivityContextInterface aci) |
void |
onErrorComponent(org.mobicents.slee.resource.map.events.ErrorComponent event,
javax.slee.ActivityContextInterface aci)
MAP Components Events
|
protected void |
onImsiDrop(Sms sms,
String imsi,
org.mobicents.protocols.ss7.map.api.primitives.ISDNAddressString nnn) |
void |
onInvokeTimeout(org.mobicents.slee.resource.map.events.InvokeTimeout evt,
javax.slee.ActivityContextInterface aci) |
void |
onRejectComponent(org.mobicents.slee.resource.map.events.RejectComponent event,
javax.slee.ActivityContextInterface aci) |
protected void |
rescheduleSmsSet(SmsSet smsSet,
boolean busySuscriber,
PersistenceRAInterface pers,
long currentMsgNum,
ArrayList<Sms> lstFailured)
make new schedule time for smsSet after temporary failure
|
void |
sbbActivate()
Life cycle methods
|
void |
sbbCreate() |
void |
sbbExceptionThrown(Exception arg0,
Object arg1,
javax.slee.ActivityContextInterface arg2) |
void |
sbbLoad() |
void |
sbbPassivate() |
void |
sbbPostCreate() |
void |
sbbRemove() |
void |
sbbRolledBack(javax.slee.RolledBackContext arg0) |
void |
sbbStore() |
void |
setSbbContext(javax.slee.SbbContext sbbContext) |
protected void |
startMessageDelivery(Sms sms)
Mark a message that its delivery has been started
|
void |
unsetSbbContext() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetupReportSMDeliveryStatusRequestprotected static final String MAP_USER_ABORT_CHOICE_USER_SPECIFIC_REASON
protected static final String MAP_USER_ABORT_CHOICE_USER_RESOURCE_LIMITATION
protected static final String MAP_USER_ABORT_CHOICE_UNKNOWN
protected static final SmscPropertiesManagement smscPropertiesManagement
protected javax.slee.facilities.Tracer logger
protected org.mobicents.slee.SbbContextExt sbbContext
protected org.mobicents.slee.resource.map.MAPContextInterfaceFactory mapAcif
protected org.mobicents.protocols.ss7.map.api.MAPProvider mapProvider
protected org.mobicents.protocols.ss7.map.api.MAPParameterFactory mapParameterFactory
protected org.mobicents.protocols.ss7.map.api.MAPSmsTpduParameterFactory mapSmsTpduParameterFactory
protected org.mobicents.protocols.ss7.sccp.parameter.ParameterFactory sccpParameterFact
protected PersistenceRAInterface persistence
protected SchedulerRaSbbInterface scheduler
protected SmscStatAggregator smscStatAggregator
public MtCommonSbb(String className)
public PersistenceRAInterface getStore()
public SchedulerRaSbbInterface getScheduler()
public void onErrorComponent(org.mobicents.slee.resource.map.events.ErrorComponent event,
javax.slee.ActivityContextInterface aci)
public void onRejectComponent(org.mobicents.slee.resource.map.events.RejectComponent event,
javax.slee.ActivityContextInterface aci)
protected String getRejectComponentReason(org.mobicents.slee.resource.map.events.RejectComponent event)
public void onInvokeTimeout(org.mobicents.slee.resource.map.events.InvokeTimeout evt,
javax.slee.ActivityContextInterface aci)
public void onDialogReject(org.mobicents.slee.resource.map.events.DialogReject evt,
javax.slee.ActivityContextInterface aci)
public void onDialogProviderAbort(org.mobicents.slee.resource.map.events.DialogProviderAbort evt,
javax.slee.ActivityContextInterface aci)
public void onDialogUserAbort(org.mobicents.slee.resource.map.events.DialogUserAbort evt,
javax.slee.ActivityContextInterface aci)
protected String getUserAbortReason(org.mobicents.slee.resource.map.events.DialogUserAbort evt)
public void onDialogTimeout(org.mobicents.slee.resource.map.events.DialogTimeout evt,
javax.slee.ActivityContextInterface aci)
public void onDialogDelimiter(org.mobicents.slee.resource.map.events.DialogDelimiter evt,
javax.slee.ActivityContextInterface aci)
public void onDialogAccept(org.mobicents.slee.resource.map.events.DialogAccept evt,
javax.slee.ActivityContextInterface aci)
public void onDialogClose(org.mobicents.slee.resource.map.events.DialogClose evt,
javax.slee.ActivityContextInterface aci)
public void onDialogNotice(org.mobicents.slee.resource.map.events.DialogNotice evt,
javax.slee.ActivityContextInterface aci)
public void onDialogRequest(org.mobicents.slee.resource.map.events.DialogRequest evt,
javax.slee.ActivityContextInterface aci)
public void onDialogRelease(org.mobicents.slee.resource.map.events.DialogRelease evt,
javax.slee.ActivityContextInterface aci)
public void sbbActivate()
sbbActivate in interface javax.slee.Sbbpublic void sbbCreate()
throws javax.slee.CreateException
sbbCreate in interface javax.slee.Sbbjavax.slee.CreateExceptionpublic void sbbExceptionThrown(Exception arg0, Object arg1, javax.slee.ActivityContextInterface arg2)
sbbExceptionThrown in interface javax.slee.Sbbpublic void sbbLoad()
sbbLoad in interface javax.slee.Sbbpublic void sbbPassivate()
sbbPassivate in interface javax.slee.Sbbpublic void sbbPostCreate()
throws javax.slee.CreateException
sbbPostCreate in interface javax.slee.Sbbjavax.slee.CreateExceptionpublic void sbbRemove()
sbbRemove in interface javax.slee.Sbbpublic void sbbRolledBack(javax.slee.RolledBackContext arg0)
sbbRolledBack in interface javax.slee.Sbbpublic void sbbStore()
sbbStore in interface javax.slee.Sbbpublic void setSbbContext(javax.slee.SbbContext sbbContext)
setSbbContext in interface javax.slee.Sbbpublic void unsetSbbContext()
unsetSbbContext in interface javax.slee.Sbbprotected org.mobicents.protocols.ss7.map.api.primitives.AddressString getServiceCenterAddressString(int networkId)
protected org.mobicents.protocols.ss7.sccp.parameter.SccpAddress getServiceCenterSccpAddress(int networkId)
protected org.mobicents.protocols.ss7.map.api.primitives.ISDNAddressString getCalledPartyISDNAddressString(String destinationAddress, int ton, int npi)
protected void onDeliveryError(SmsSet smsSet, MtCommonSbb.ErrorAction errorAction, ErrorCode smStatus, String reason, boolean removeSmsSet, org.mobicents.protocols.ss7.map.api.errors.MAPErrorMessage errMessage, boolean isImsiVlrReject)
protected void onImsiDrop(Sms sms, String imsi, org.mobicents.protocols.ss7.map.api.primitives.ISDNAddressString nnn)
public abstract void doSetSmsSubmitData(SmsSubmitData smsDeliveryData)
public abstract SmsSubmitData doGetSmsSubmitData()
public abstract void doSetCurrentMsgNum(long currentMsgNum)
public abstract long doGetCurrentMsgNum()
public abstract void doSetInformServiceCenterContainer(InformServiceCenterContainer informServiceCenterContainer)
public abstract InformServiceCenterContainer doGetInformServiceCenterContainer()
protected void startMessageDelivery(Sms sms)
sms - protected void freeSmsSetSucceded(SmsSet smsSet, PersistenceRAInterface pers)
smsSet - protected void freeSmsSetFailured(SmsSet smsSet, PersistenceRAInterface pers, long currentMsgNum)
smsSet - pers - protected void rescheduleSmsSet(SmsSet smsSet, boolean busySuscriber, PersistenceRAInterface pers, long currentMsgNum, ArrayList<Sms> lstFailured)
smsSet - protected javax.slee.ActivityContextInterface getSchedulerActivityContextInterface()
Copyright © 2016. All Rights Reserved.