org.mobicents.slee.services.sip.location.jmx
Interface LocationServiceManagementMBean

All Known Subinterfaces:
LocationSbbLocalObject, LocationService
All Known Implementing Classes:
LocationSbb, LocationServiceManagement

public interface LocationServiceManagementMBean


Field Summary
static java.lang.String MBEAN_NAME
           
 
Method Summary
 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()
           
 

Field Detail

MBEAN_NAME

static final java.lang.String MBEAN_NAME
See Also:
Constant Field Values
Method Detail

getRegisteredUsers

java.util.Set<java.lang.String> getRegisteredUsers()
                                                   throws LocationServiceException
Returns:
Set with registered users. It contains entries like "sip:316471@kocia.domena.au" or "sip:mobicents@gmail.com"
Throws:
LocationServiceException

getContacts

java.util.Set<java.lang.String> getContacts(java.lang.String sipAddress)
                                            throws LocationServiceException
Parameters:
sipAddress - - address of record, value like "sip:mobicents@gmail.com" this is passed in from and to header of REGISTER reqeust
Returns:
Throws:
LocationServiceException

getExpirationTime

long getExpirationTime(java.lang.String sipAddress,
                       java.lang.String contactAddress)
                       throws LocationServiceException
Returns time in miliseconds left till certain contact expires, if there is some error it return Long.MIN_VALUE.

Parameters:
sipAddress -
contactAddress - - must be exact value put into register. See return values of getContacts
Returns:
Throws:
LocationServiceException

getRegisteredUserCount

int getRegisteredUserCount()
                           throws LocationServiceException
Number of registered users.

Returns:
Throws:
LocationServiceException


Copyright © 2009. All Rights Reserved.