|
NIST-SIP: The Reference Implementation for JAIN-SIP 1.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nist.javax.sip.stack.HopImpl
public final class HopImpl
Routing algorithms return a list of hops to which the request is routed.
Constructor Summary | |
---|---|
HopImpl(String hostName,
int portNumber,
String trans)
Create new hop given host, port and transport. |
Method Summary | |
---|---|
String |
getHost()
Retruns the host string. |
int |
getPort()
Returns the port. |
String |
getTransport()
returns the transport string. |
boolean |
isURIRoute()
Return true if this is uriRoute |
void |
setURIRouteFlag()
Set the URIRoute flag. |
String |
toString()
Debugging println. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public HopImpl(String hostName, int portNumber, String trans)
hostName
- hostnameportNumber
- porttrans
- transportMethod Detail |
---|
public String toString()
toString
in interface Hop
toString
in class Object
public String getHost()
getHost
in interface Hop
public int getPort()
getPort
in interface Hop
public String getTransport()
getTransport
in interface Hop
public boolean isURIRoute()
public void setURIRouteFlag()
|
NIST-SIP: The Reference Implementation for JAIN-SIP 1.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |