examples.tls
Class HopImpl
java.lang.Object
examples.tls.HopImpl
- All Implemented Interfaces:
- Hop
public class HopImpl
- extends Object
- implements Hop
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.sip.address.Hop |
toString |
HopImpl
public HopImpl(String hop)
throws IllegalArgumentException
- Throws:
IllegalArgumentException
getHost
public String getHost()
- Description copied from interface:
Hop
- Returns the host part of this Hop.
- Specified by:
getHost
in interface Hop
- Returns:
- the string value of the host.
getPort
public int getPort()
- Description copied from interface:
Hop
- Returns the port part of this Hop.
- Specified by:
getPort
in interface Hop
- Returns:
- the integer value of the port.
getTransport
public String getTransport()
- Description copied from interface:
Hop
- Returns the transport part of this Hop.
- Specified by:
getTransport
in interface Hop
- Returns:
- the string value of the transport.
Copyright © 2012. All Rights Reserved.