Home | History | Annotate | Download | only in stack

Lines Matching refs:hop

66  * <code>false</code>, the next hop is determined according to the following
70 * topmost Route header as next hop, possibly modifying the request in the
73 * use its value as the next hop
74 * <li> Otherwise, use the request URI as next hop. If the request URI is not a
81 * (which means the next hop is a strict router), the implementation will
91 * Subsequently, the request URI will be used as next hop target
103 private Hop defaultRoute;
116 this.defaultRoute = (Hop) this.sipStack.getAddressResolver()
117 .resolveAddress((Hop) (new HopImpl(defaultRoute)));
133 * next hop on the list. If the default route has been specified, then it is
161 public Hop getNextHop(Request request) throws SipException {
177 * means the next hop is a strict router), the implementation will
189 * Subsequently, the request URI will be used as next hop target
194 // to send the request through a specified hop the application is
208 Hop hop = createHop(sipUri,request);
211 .logDebug("NextHop based on Route:" + hop);
212 return hop;
219 Hop hop = createHop((SipURI) requestURI,request);
223 + hop.toString());
228 return hop;
237 Hop hop = createHop((SipURI) requestURI,request);
238 if (hop != null && sipStack.isLoggingEnabled())
240 + hop.toString());
243 .logDebug("returning null hop -- loop detected");
245 return hop;
282 * Utility method to create a hop from a SIP URI
289 private final Hop createHop(SipURI sipUri, Request request) {
319 * Get the default hop.
326 public javax.sip.address.Hop getOutboundProxy() {