org.lastbamboo.common.sip.proxy
Interface LocationService

All Known Implementing Classes:
LastBambooLocationService, LocationServiceChain

public interface LocationService

A location service that provides targets given a request URI.


Method Summary
 boolean canHandle(URI requestUri)
          Returns whether this location service can handle a request URI.
 Collection getTargetSet(URI requestUri)
          Returns a target set (URIs) for a given request URI.
 

Method Detail

canHandle

boolean canHandle(URI requestUri)
Returns whether this location service can handle a request URI.

Parameters:
requestUri - The request URI that this location service could potentially handle.
Returns:
True if this location service can handle the given request URI.

getTargetSet

Collection getTargetSet(URI requestUri)
Returns a target set (URIs) for a given request URI.

Parameters:
requestUri - The request URI for which to return a target set.
Returns:
A target set (URIs) for a given request URI.


Copyright © 2013 LittleShoot. All Rights Reserved.