Smack

org.jivesoftware.smack.util
Class DNSUtil.HostAddress

java.lang.Object
  extended by org.jivesoftware.smack.util.DNSUtil.HostAddress
Enclosing class:
DNSUtil

public static class DNSUtil.HostAddress
extends Object

Encapsulates a hostname and port.


Method Summary
 boolean equals(Object o)
           
 String getHost()
          Returns the hostname.
 int getPort()
          Returns the port.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, 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

equals

public boolean equals(Object o)
Overrides:
equals in class Object

Smack

Copyright © 2003-2007 Jive Software.