Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.mobicents.slee.services.sip.location.jmx;
 
 import java.util.Set;
 
 
 
 public interface LocationServiceManagementMBean {
 
	public static final String MBEAN_NAME="slee:sipservice=Location";

Returns:
Set with registered users. It contains entries like "sip:316471@kocia.domena.au" or "sip:mobicents@gmail.com"

Parameters:
sipAddress - address of record, value like "sip:mobicents@gmail.com" this is passed in from and to header of REGISTER reqeust
Returns:
Throws:
org.mobicents.slee.services.sip.location.LocationServiceException
	public Set<StringgetContacts(String sipAddressthrows 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:
org.mobicents.slee.services.sip.location.LocationServiceException
	public long getExpirationTime(String sipAddressString contactAddressthrows LocationServiceException;

Number of registered users.

Returns:
New to GrepCode? Check out our FAQ X