Openfire 3.6.1 Javadoc

org.jivesoftware.openfire.net
Class DNSUtil.HostAddress

java.lang.Object
  extended by org.jivesoftware.openfire.net.DNSUtil.HostAddress
Enclosing class:
DNSUtil

public static class DNSUtil.HostAddress
extends Object

Encapsulates a hostname and port.


Method Summary
 String getHost()
          Returns the hostname.
 int getPort()
          Returns the port.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getHost

public String getHost()
Returns the hostname.

Returns:
the hostname.

getPort

public int getPort()
Returns the port.

Returns:
the port.

toString

public String toString()
Overrides:
toString in class Object

Openfire 3.6.1 Javadoc

Copyright © 2003-2008 Jive Software.