Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.mobicents.slee.services.sip.location;
 
 import java.util.Map;
 import java.util.Set;
 
 
 public interface LocationService extends LocationServiceManagementMBean {

Adds new contact binding for particular user..

Parameters:
sipAddress - user address of record sip:ala@ma.kota.w.domu.com
contactAddress - contact address - sip:+381243256
comment - possible comment note
expires - long - seconds for which this contact is to remain valid
registrationDate - long - date when the registration was created/updated
qValue - q parameter
callId - call id
cSeq - seq numbers
Returns:
- binding created in this operation
Throws:
LocationServiceException
	public RegistrationBinding addBinding(String sipAddress,
			String contactAddressString commentlong expires,
			long registrationDatefloat qValueString callIdlong cSeq)
Returns set of user that have registered - set contains adress of record for each user, something like sip:ala@kocia.domena.com

Returns:
Throws:
LocationServiceException
Returns map which contains mapping contactAddress->registrationBinding for particular user - address of record sip:nie@ma.mnie.tu

Parameters:
sipAddress
Returns:
Throws:
LocationServiceException
Updates the specified registration binding.

Parameters:
registrationBinding
Throws:
LocationServiceException
	public void updateBinding(RegistrationBinding registrationBinding)
Removes contact address from user bindings.

Parameters:
sipAddress - sip:ala@kocia.domena.au
contactAddress - sip:+481234567890
Throws:
LocationServiceException
	public void removeBinding(String sipAddressString contactAddress)
Starts the location service
	public void init();

Shutdown the location service
	public void shutdown();
New to GrepCode? Check out our FAQ X