org.eclipse.ecf.core.util
Class ProxyAddress
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_PORT
protected static final int DEFAULT_PORT
- See Also:
- Constant Field Values
port
protected int port
hostname
protected java.lang.String hostname
ProxyAddress
public ProxyAddress(java.lang.String hostname,
int port)
ProxyAddress
public ProxyAddress(java.lang.String hostname)
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