|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mobicents.slee.services.sip.location.jmx.LocationServiceManagement
public class LocationServiceManagement
Implementation of the Location Service Management JMX interface.
| Field Summary |
|---|
| Fields inherited from interface org.mobicents.slee.services.sip.location.jmx.LocationServiceManagementMBean |
|---|
MBEAN_NAME |
| Method Summary | |
|---|---|
static boolean |
create(LocationService locationService)
Starts the MBean |
static void |
destroy()
Stops the MBean |
java.util.Set<java.lang.String> |
getContacts(java.lang.String sipAddress)
|
long |
getExpirationTime(java.lang.String sipAddress,
java.lang.String contactAddress)
Returns time in miliseconds left till certain contact expires, if there is some error it return Long.MIN_VALUE. |
int |
getRegisteredUserCount()
Number of registered users. |
java.util.Set<java.lang.String> |
getRegisteredUsers()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public java.util.Set<java.lang.String> getContacts(java.lang.String sipAddress)
throws LocationServiceException
getContacts in interface LocationServiceManagementMBeansipAddress - - address of record, value like "sip:mobicents@gmail.com" this is passed in from and to header of REGISTER reqeust
LocationServiceException
public long getExpirationTime(java.lang.String sipAddress,
java.lang.String contactAddress)
throws LocationServiceException
LocationServiceManagementMBean
getExpirationTime in interface LocationServiceManagementMBeancontactAddress - - must be exact value put into register. See return values of getContacts
LocationServiceException
public int getRegisteredUserCount()
throws LocationServiceException
LocationServiceManagementMBean
getRegisteredUserCount in interface LocationServiceManagementMBeanLocationServiceException
public java.util.Set<java.lang.String> getRegisteredUsers()
throws LocationServiceException
getRegisteredUsers in interface LocationServiceManagementMBeanLocationServiceExceptionpublic static boolean create(LocationService locationService)
public static void destroy()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||