nl.west.aaa
Class Identifier

java.lang.Object
  |
  +--nl.west.aaa.Identifier

public class Identifier
extends java.lang.Object

Identifies a aaa server or client. Possibly sotre keys for transport, acceptable record formats etc..


Constructor Summary
Identifier(java.net.InetAddress addr)
           
Identifier(java.lang.String hostname)
          Construct a new Indetifier given it's hostname.
 
Method Summary
 boolean equals(Identifier id)
          Test if these Identifiers match.
 boolean equals(java.lang.Object o)
          Test if these Identifiers match.
 java.lang.String getHostname()
           
 java.lang.String toString()
          Produces a string representation of this Identifier.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Identifier

public Identifier(java.lang.String hostname)
Construct a new Indetifier given it's hostname.

Identifier

public Identifier(java.net.InetAddress addr)
Method Detail

toString

public java.lang.String toString()
Produces a string representation of this Identifier.
Overrides:
toString in class java.lang.Object

equals

public boolean equals(Identifier id)
Test if these Identifiers match. If the hostname match the Identifiers match.

equals

public boolean equals(java.lang.Object o)
Test if these Identifiers match. If the hostname match the Identifiers match.
Overrides:
equals in class java.lang.Object

getHostname

public java.lang.String getHostname()



Arthur <arthur@ch.twi.tudelft.nl> http://ch.twi.tudelft.nl/~arthur/
2002-05-27