|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectgov.nist.javax.sip.stack.DefaultRouter
public class DefaultRouter
This is the default router. When the implementation wants to forward a request and had run out of othe options, then it calls this method to figure out where to send the request. The default router implements a simple "default routing algorithm" which just forwards to the configured proxy address. Use this for UAC/UAS implementations and use the ProxyRouter for proxies.
コンストラクタの概要 | |
---|---|
DefaultRouter(SIPMessageStack sipStack,
java.lang.String defaultRoute)
Constructor given SIPStack as an argument (this is only for the protocol tester. |
|
DefaultRouter(javax.sip.SipStack sipStack,
java.lang.String defaultRoute)
Constructor. |
メソッドの概要 | |
---|---|
javax.sip.address.Hop |
getDefaultRoute()
Get the default route (does the same thing as getOutboundProxy). |
java.util.ListIterator |
getNextHops(javax.sip.message.Request request)
Return addresses for default proxy to forward the request to. |
javax.sip.address.Hop |
getOutboundProxy()
Get the default hop. |
クラス java.lang.Object から継承されたメソッド |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public DefaultRouter(javax.sip.SipStack sipStack, java.lang.String defaultRoute)
public DefaultRouter(SIPMessageStack sipStack, java.lang.String defaultRoute)
メソッドの詳細 |
---|
public java.util.ListIterator getNextHops(javax.sip.message.Request request)
javax.sip.address.Router
内の getNextHops
request
- is the sip request to route.public javax.sip.address.Hop getOutboundProxy()
javax.sip.address.Router
内の getOutboundProxy
public javax.sip.address.Hop getDefaultRoute()
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |