|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mobicents.slee.services.sip.location.cache.LocationSbb
public abstract class LocationSbb
| Constructor Summary | |
|---|---|
LocationSbb()
|
|
| Method Summary | |
|---|---|
RegistrationBinding |
addUserLocation(java.lang.String sipAddress,
java.lang.String contactAddress,
java.lang.String comment,
long expiresDelta,
float q,
java.lang.String id,
long seq)
Adds new contact binding for particular user.. |
abstract CacheLocationActivityContextInterface |
asSbbActivityContextInterface(javax.slee.ActivityContextInterface aci)
|
protected void |
clearENV()
|
java.util.Set<java.lang.String> |
getRegisteredUsers()
Returns set of user that have registered - set contains adress of record fro each user, something like sip:ala@kocia.domena.com |
java.util.Map<java.lang.String,RegistrationBinding> |
getUserBindings(java.lang.String sipAddress)
Returns map which contians mapping contactAddress->registrationBinding for particular user - address of record sip:nie@ma.mnie.tu |
void |
onActivityEndEvent(javax.slee.ActivityEndEvent event,
javax.slee.ActivityContextInterface aci)
|
void |
onBindingTimeout(javax.slee.facilities.TimerEvent timer,
javax.slee.ActivityContextInterface aci)
|
void |
onServiceStarted(javax.slee.serviceactivity.ServiceStartedEvent serviceEvent,
javax.slee.ActivityContextInterface aci)
|
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 ctx)
|
protected void |
startMBeanConfigurator()
|
void |
unsetSbbContext()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 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 abstract CacheLocationActivityContextInterface asSbbActivityContextInterface(javax.slee.ActivityContextInterface aci)
public void setSbbContext(javax.slee.SbbContext ctx)
setSbbContext in interface javax.slee.Sbbpublic void unsetSbbContext()
unsetSbbContext in interface javax.slee.Sbb
public RegistrationBinding addUserLocation(java.lang.String sipAddress,
java.lang.String contactAddress,
java.lang.String comment,
long expiresDelta,
float q,
java.lang.String id,
long seq)
throws LocationServiceException
LocationInterface
addUserLocation in interface LocationInterfacesipAddress - - user address of record sip:ala@ma.kota.w.domu.comcontactAddress - - contact address - sip:+381243256comment - - possible comment noteexpiresDelta - - long - miliseconds for which this contact is to remain validq - - q parameterid - - call idseq - - seq numbers
LocationServiceExceptionpublic java.util.Set<java.lang.String> getRegisteredUsers()
LocationInterface
getRegisteredUsers in interface LocationInterface
public java.util.Map<java.lang.String,RegistrationBinding> getUserBindings(java.lang.String sipAddress)
throws LocationServiceException
LocationInterface
getUserBindings in interface LocationInterfaceLocationServiceException
public void removeBinding(java.lang.String sipAddress,
java.lang.String contactAddress)
throws LocationServiceException
LocationInterface
removeBinding in interface LocationInterfacesipAddress - - sip:ala@kocia.domena.aucontactAddress - - sip:+481234567890
LocationServiceException
public void onBindingTimeout(javax.slee.facilities.TimerEvent timer,
javax.slee.ActivityContextInterface aci)
public void onServiceStarted(javax.slee.serviceactivity.ServiceStartedEvent serviceEvent,
javax.slee.ActivityContextInterface aci)
public void onActivityEndEvent(javax.slee.ActivityEndEvent event,
javax.slee.ActivityContextInterface aci)
protected void startMBeanConfigurator()
protected void clearENV()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||