|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.mobicents.slee.parlay.callblocking.CallBlockingSbb
public abstract class CallBlockingSbb
Implementation of a simple call blocking sbb. The address profile table for the sbb maintains a list of blocked addresses. Each profile in the address profile table has a list of blocked address associated with it. Incoming calls from a blocked address are blocked by simply releasing the connection.
| Constructor Summary | |
|---|---|
CallBlockingSbb()
|
|
| Method Summary | |
|---|---|
static org.csapi.cc.TpCallEventRequest[] |
createCallEventRequestArrayToNumber(org.csapi.cc.TpCallMonitorMode callMonitorMode)
Creates the event request array for a terminating leg interrupt. |
static org.csapi.cc.TpCallNotificationRequest |
createControlCallsToNotificationRequest(org.csapi.TpAddressRange destinationAddressRange,
org.csapi.TpAddressRange originatingAddressRange)
Creates an interrupt on calls from the specified range to the specified range. |
abstract org.mobicents.slee.parlay.callblocking.CallBlockingAddressProfileCMP |
getProfile(javax.slee.profile.ProfileID id)
|
void |
onReportNotificationEvent(org.mobicents.csapi.jr.slee.cc.mpccs.ReportNotificationEvent event,
javax.slee.ActivityContextInterface aci)
Event handler for ReportNotification. |
void |
onServiceStartedEvent(javax.slee.serviceactivity.ServiceStartedEvent event,
javax.slee.ActivityContextInterface aci)
Sets up a call interrupt for all e164 numbers on receipt of the service started event. |
void |
sbbActivate()
|
void |
sbbCreate()
|
void |
sbbExceptionThrown(java.lang.Exception exception,
java.lang.Object event,
javax.slee.ActivityContextInterface aci)
|
void |
sbbLoad()
|
void |
sbbPassivate()
|
void |
sbbPostCreate()
|
void |
sbbRemove()
|
void |
sbbRolledBack(javax.slee.RolledBackContext context)
|
void |
sbbStore()
|
void |
setSbbContext(javax.slee.SbbContext context)
|
void |
unsetSbbContext()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CallBlockingSbb()
| Method Detail |
|---|
public void setSbbContext(javax.slee.SbbContext context)
setSbbContext in interface javax.slee.Sbbpublic void unsetSbbContext()
unsetSbbContext in interface javax.slee.Sbb
public void sbbCreate()
throws javax.slee.CreateException
sbbCreate in interface javax.slee.Sbbjavax.slee.CreateExceptionpublic void sbbPostCreate()
sbbPostCreate in interface javax.slee.Sbbpublic void sbbActivate()
sbbActivate in interface javax.slee.Sbbpublic void sbbPassivate()
sbbPassivate in interface javax.slee.Sbbpublic void sbbLoad()
sbbLoad in interface javax.slee.Sbbpublic void sbbStore()
sbbStore in interface javax.slee.Sbbpublic void sbbRemove()
sbbRemove in interface javax.slee.Sbb
public void sbbExceptionThrown(java.lang.Exception exception,
java.lang.Object event,
javax.slee.ActivityContextInterface aci)
sbbExceptionThrown in interface javax.slee.Sbbpublic void sbbRolledBack(javax.slee.RolledBackContext context)
sbbRolledBack in interface javax.slee.Sbb
public void onReportNotificationEvent(org.mobicents.csapi.jr.slee.cc.mpccs.ReportNotificationEvent event,
javax.slee.ActivityContextInterface aci)
event - aci -
public void onServiceStartedEvent(javax.slee.serviceactivity.ServiceStartedEvent event,
javax.slee.ActivityContextInterface aci)
event - aci -
public static org.csapi.cc.TpCallNotificationRequest createControlCallsToNotificationRequest(org.csapi.TpAddressRange destinationAddressRange,
org.csapi.TpAddressRange originatingAddressRange)
destinationAddressRange - originatingAddressRange -
public static org.csapi.cc.TpCallEventRequest[] createCallEventRequestArrayToNumber(org.csapi.cc.TpCallMonitorMode callMonitorMode)
callMonitorMode -
public abstract org.mobicents.slee.parlay.callblocking.CallBlockingAddressProfileCMP getProfile(javax.slee.profile.ProfileID id)
throws javax.slee.profile.UnrecognizedProfileTableNameException,
javax.slee.profile.UnrecognizedProfileNameException
javax.slee.profile.UnrecognizedProfileTableNameException
javax.slee.profile.UnrecognizedProfileNameException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||