| gov.nist.siplite.address.Router
All known Subclasses: gov.nist.siplite.stack.DefaultRouter,
Router | public interface Router (Code) | | Path for outbound message routing.
|
getNextHops | public Enumeration getNextHops(Request sipRequest, boolean isDialog)(Code) | | Return a linked list of addresses corresponding to a requestURI.
This is called for sending out outbound messages for which we do
not directly have the request URI. The implementaion function
is expected to return a linked list of addresses to which the
request is forwarded. The implementation may use this method
to perform location searches etc.
Parameters: sipRequest - is the message to route. Parameters: isDialog - target URI is taken from route list inside of dialog,else it is taken from request URI enumeration of next hops |
getOutboundProxy | public Hop getOutboundProxy()(Code) | | Gets the outbound proxy.
the outbounc proxy address |
setOutboundProxy | public void setOutboundProxy(String outboundProxy)(Code) | | Sets the outbound proxy.
Parameters: outboundProxy - the outbound proxy address |
setSipStack | public void setSipStack(SipStack sipStack)(Code) | | Sets the sip stack.
Parameters: sipStack - the SIP stack context |
|
|