|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mobicents.slee.services.sip.location.LocationSbb
public abstract class LocationSbb
| Field Summary |
|---|
| Fields inherited from interface org.mobicents.slee.services.sip.location.jmx.LocationServiceManagementMBean |
|---|
MBEAN_NAME |
| Constructor Summary | |
|---|---|
LocationSbb()
|
|
| Method Summary | |
|---|---|
RegistrationBinding |
addBinding(java.lang.String sipAddress,
java.lang.String contactAddress,
java.lang.String comment,
long expires,
long registrationDate,
float qValue,
java.lang.String callId,
long cSeq)
Adds new contact binding for particular user.. |
abstract RegistrationBindingActivityContextInterface |
asSbbActivityContextInterface(javax.slee.ActivityContextInterface aci)
|
java.util.Map<java.lang.String,RegistrationBinding> |
getBindings(java.lang.String sipAddress)
Returns map which contains mapping contactAddress->registrationBinding for particular user - address of record sip:nie@ma.mnie.tu |
java.util.Set<java.lang.String> |
getRegisteredUsers()
Returns set of user that have registered - set contains adress of record for each user, something like sip:ala@kocia.domena.com |
void |
init()
Starts the location service |
void |
onTimerEvent(javax.slee.facilities.TimerEvent timer,
javax.slee.ActivityContextInterface aci)
a registration expires |
void |
removeBinding(java.lang.String sipAddress,
java.lang.String contactAddress)
Removes contact address from user bindings. |
void |
sbbActivate()
|
void |
sbbCreate()
|
void |
sbbExceptionThrown(java.lang.Exception arg0,
java.lang.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)
|
void |
shutdown()
Shutdown the location service |
void |
unsetSbbContext()
|
void |
updateBinding(RegistrationBinding registrationBinding)
Updates the specified registration binding. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.slee.SbbLocalObject |
|---|
getSbbPriority, isIdentical, remove, setSbbPriority |
| Methods inherited from interface org.mobicents.slee.services.sip.location.jmx.LocationServiceManagementMBean |
|---|
getContacts, getExpirationTime, getRegisteredUserCount |
| Constructor Detail |
|---|
public LocationSbb()
| Method Detail |
|---|
public void sbbActivate()
sbbActivate in interface javax.slee.Sbb
public void sbbCreate()
throws javax.slee.CreateException
sbbCreate in interface javax.slee.Sbbjavax.slee.CreateException
public void sbbExceptionThrown(java.lang.Exception arg0,
java.lang.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.Sbb
public 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.Sbbpublic abstract RegistrationBindingActivityContextInterface asSbbActivityContextInterface(javax.slee.ActivityContextInterface aci)
public RegistrationBinding addBinding(java.lang.String sipAddress,
java.lang.String contactAddress,
java.lang.String comment,
long expires,
long registrationDate,
float qValue,
java.lang.String callId,
long cSeq)
throws LocationServiceException
LocationService
addBinding in interface LocationServicesipAddress - -
user address of record sip:ala@ma.kota.w.domu.comcontactAddress - -
contact address - sip:+381243256comment - -
possible comment noteexpires - -
long - seconds for which this contact is to remain validregistrationDate - -
long - date when the registration was created/updatedqValue - -
q parametercallId - -
call idcSeq - -
seq numbers
LocationServiceException
public java.util.Set<java.lang.String> getRegisteredUsers()
throws LocationServiceException
LocationService
getRegisteredUsers in interface LocationServiceManagementMBeangetRegisteredUsers in interface LocationServiceLocationServiceException
public java.util.Map<java.lang.String,RegistrationBinding> getBindings(java.lang.String sipAddress)
throws LocationServiceException
LocationService
getBindings in interface LocationServiceLocationServiceException
public void updateBinding(RegistrationBinding registrationBinding)
throws LocationServiceException
LocationService
updateBinding in interface LocationServiceLocationServiceException
public void removeBinding(java.lang.String sipAddress,
java.lang.String contactAddress)
throws LocationServiceException
LocationService
removeBinding in interface LocationServicesipAddress - -
sip:ala@kocia.domena.aucontactAddress - -
sip:+481234567890
LocationServiceException
public void onTimerEvent(javax.slee.facilities.TimerEvent timer,
javax.slee.ActivityContextInterface aci)
timer - aci - public void init()
LocationService
init in interface LocationServicepublic void shutdown()
LocationService
shutdown in interface LocationService
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||