package local.server; import org.zoolu.sip.address.SipURL; /** RoutingRule. */ public interface RoutingRule { /** Gets the proper next-hop SipURL for the selected URL. * It return the SipURL used to reach the selected URL. * @param sip_url the selected destination URL * @return returns the proper next-hop SipURL for the selected URL * if the routing rule matches the URL, otherwise it returns null. */ public SipURL getNexthop(SipURL sip_url); /** Gets the String value. */ public String toString(); }