org.eclipse.ecf.core.util
Class ProxyAddress

java.lang.Object
  extended by org.eclipse.ecf.core.util.ProxyAddress
All Implemented Interfaces:
java.io.Serializable

public class ProxyAddress
extends java.lang.Object
implements java.io.Serializable

Class to represent an proxy address

See Also:
Serialized Form

Field Summary
protected static int DEFAULT_PORT
           
protected  java.lang.String hostname
           
protected  int port
           
 
Constructor Summary
ProxyAddress(java.lang.String hostname)
           
ProxyAddress(java.lang.String hostname, int port)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getHostName()
           
 int getPort()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_PORT

protected static final int DEFAULT_PORT
See Also:
Constant Field Values

port

protected int port

hostname

protected java.lang.String hostname
Constructor Detail

ProxyAddress

public ProxyAddress(java.lang.String hostname,
                    int port)

ProxyAddress

public ProxyAddress(java.lang.String hostname)
Method Detail

getHostName

public java.lang.String getHostName()

getPort

public int getPort()

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object