radtools.security
Class HostPort.Default

java.lang.Object
  extended by radtools.security.HostPort.Default
All Implemented Interfaces:
HostPort
Enclosing interface:
HostPort

public static class HostPort.Default
extends Object
implements HostPort

TODO: Javadoc

TODO: Unit tests, Code review, Javadoc review, Seal/Finalize TODO: equals, hashCode, toString

Version:
$Revision: 1.4 $
Author:
Greg Gibeling

Nested Class Summary
 
Nested classes/interfaces inherited from interface radtools.security.HostPort
HostPort.Default
 
Field Summary
protected  String hostname
          TODO: Javadoc
protected  int port
          TODO: Javadoc
 
Constructor Summary
HostPort.Default(String _hostname, int _port)
          TODO: Javadoc
 
Method Summary
 boolean equals(Object o)
           
 int hashCode()
           
 String hostname()
          TODO: Javadoc
 int port()
          TODO: Javadoc
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

hostname

protected final String hostname
TODO: Javadoc


port

protected final int port
TODO: Javadoc

Constructor Detail

HostPort.Default

public HostPort.Default(String _hostname,
                        int _port)
TODO: Javadoc

Parameters:
_hostname -
_port -
Method Detail

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

hostname

public String hostname()
Description copied from interface: HostPort
TODO: Javadoc

Specified by:
hostname in interface HostPort
Returns:

port

public int port()
Description copied from interface: HostPort
TODO: Javadoc

Specified by:
port in interface HostPort
Returns:

toString

public String toString()
Overrides:
toString in class Object