public class ProxyRouter
extends java.lang.Object
implements javax.sip.address.Router
Constructor and Description |
---|
ProxyRouter(javax.sip.SipStack stack,
java.lang.String defaultRoute)
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
javax.sip.address.Hop |
getNextHop(javax.sip.message.Request request)
Returns the next hop for this Request.
|
java.util.ListIterator |
getNextHops(javax.sip.message.Request request)
Deprecated.
|
javax.sip.address.Hop |
getOutboundProxy()
Returns the outbound proxy for this Router.
|
public ProxyRouter(javax.sip.SipStack stack, java.lang.String defaultRoute)
stack
- the currently running stack.defaultRoute
- ignored parameter.public javax.sip.address.Hop getNextHop(javax.sip.message.Request request) throws javax.sip.SipException
getNextHop
in interface javax.sip.address.Router
request
- Request to find the next hop.javax.sip.SipException
@Deprecated public java.util.ListIterator getNextHops(javax.sip.message.Request request)
getNextHops
in interface javax.sip.address.Router
request
- Request to find the next hops.public javax.sip.address.Hop getOutboundProxy()
getOutboundProxy
in interface javax.sip.address.Router
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.