local.server
Interface RoutingRule


public interface RoutingRule

RoutingRule.


Method Summary
 org.zoolu.sip.address.SipURL getNexthop(org.zoolu.sip.address.SipURL sip_url)
          Gets the proper next-hop SipURL for the selected URL.
 java.lang.String toString()
          Gets the String value.
 

Method Detail

getNexthop

public org.zoolu.sip.address.SipURL getNexthop(org.zoolu.sip.address.SipURL sip_url)
Gets the proper next-hop SipURL for the selected URL. It return the SipURL used to reach the selected URL.
Parameters:
sip_url - the selected destination URL
Returns:
returns the proper next-hop SipURL for the selected URL if the routing rule matches the URL, otherwise it returns null.

toString

public java.lang.String toString()
Gets the String value.
Overrides:
toString in class java.lang.Object