com.go.trove.net
Class InetAddressAndPort

java.lang.Object
  |
  +--com.go.trove.net.InetAddressAndPort

public class InetAddressAndPort
extends java.lang.Object

Version:
3 , 00/12/05
Author:
Brian S O'Neill

Field Summary
static InetAddressAndPort UNKNOWN
          A singleton instance representing an address of 0.0.0.0 and port of -1.
 
Constructor Summary
InetAddressAndPort(java.net.InetAddress addr, int port)
           
 
Method Summary
 java.net.InetAddress getInetAddress()
           
 int getPort()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

UNKNOWN

public static final InetAddressAndPort UNKNOWN
A singleton instance representing an address of 0.0.0.0 and port of -1.
Constructor Detail

InetAddressAndPort

public InetAddressAndPort(java.net.InetAddress addr,
                          int port)
Method Detail

getInetAddress

public java.net.InetAddress getInetAddress()

getPort

public int getPort()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object