examples.tls
Class HopImpl

java.lang.Object
  extended by examples.tls.HopImpl
All Implemented Interfaces:
Hop

public class HopImpl
extends Object
implements Hop


Constructor Summary
HopImpl(String hop)
           
 
Method Summary
 String getHost()
          Returns the host part of this Hop.
 int getPort()
          Returns the port part of this Hop.
 String getTransport()
          Returns the transport part of this 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
 

Constructor Detail

HopImpl

public HopImpl(String hop)
        throws IllegalArgumentException
Throws:
IllegalArgumentException
Method Detail

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.