|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectgov.nist.javax.sip.stack.HopImpl
public class HopImpl
Routing algorithms return a list of hops to which the request is routed.
| コンストラクタの概要 | |
|---|---|
HopImpl(java.lang.String hop)
Creates new Hop |
|
HopImpl(java.lang.String hostName,
int portNumber,
java.lang.String trans)
Create new hop given host, port and transport. |
|
| メソッドの概要 | |
|---|---|
java.lang.String |
getHost()
Retruns the host string. |
int |
getPort()
Returns the port. |
java.lang.String |
getTransport()
returns the transport string. |
boolean |
isDefaultRoute()
Return true if this is a default route (ie. next hop proxy address) |
boolean |
isExplicitRoute()
Return true if this is an explicit route (ie. extrcted from a ROUTE Header) |
boolean |
isURIRoute()
Return true if this is uriRoute |
void |
setDefaultRouteFlag()
Set the defaultRouteFlag. |
void |
setExplicitRouteFlag()
Set the explicitRoute flag. |
void |
setURIRouteFlag()
Set the URIRoute flag. |
java.lang.String |
toString()
Debugging println. |
| クラス java.lang.Object から継承されたメソッド |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public HopImpl(java.lang.String hostName,
int portNumber,
java.lang.String trans)
hostName - hostnameportNumber - porttrans - transport
public HopImpl(java.lang.String hop)
throws java.lang.IllegalArgumentException
hop - is a hop string in the form of host:port/Transport
IllegalArgument - exception if string is not properly formatted or null.
java.lang.IllegalArgumentException| メソッドの詳細 |
|---|
public java.lang.String toString()
javax.sip.address.Hop 内の toStringjava.lang.Object 内の toStringpublic java.lang.String getHost()
javax.sip.address.Hop 内の getHostpublic int getPort()
javax.sip.address.Hop 内の getPortpublic java.lang.String getTransport()
javax.sip.address.Hop 内の getTransportpublic boolean isExplicitRoute()
public boolean isDefaultRoute()
public boolean isURIRoute()
public void setURIRouteFlag()
public void setDefaultRouteFlag()
public void setExplicitRouteFlag()
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||