Class alias

java.lang.Object
  |
  +--alias

public class alias
extends java.lang.Object

Class: alias
This object is really a record and may one day be incorporated into a tree. Currently this is only a means to capture host information for the system. It will hold the name of the host and the port to listen on. It won't hold alias information, although it may make sense to hold all the informaiton regarding a host in this record, it makes it more difficult to process in the main object.

author: viaggi@nietzsche.net


Constructor Summary
alias(java.lang.String strHost, java.lang.String strAlias)
          Name: alias
          Desc: This is the only constructor for this object.
 
Method Summary
 java.lang.String alias()
          Name: alias
          Desc: This function will return the alias of the host.
 java.lang.String hostname()
          Name: hostname
          Desc: This function will return the host name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

alias

public alias(java.lang.String strHost,
             java.lang.String strAlias)
Name: alias
Desc: This is the only constructor for this object. There is currently only one way to build this object and set it's instance variables and that is to use the constructor method.

Parameters:
strHost - --> String, the name of the host
strAlias - --> String, the name of the alias
Method Detail

alias

public java.lang.String alias()
Name: alias
Desc: This function will return the alias of the host.

Returns:
String --> the alias of the host

hostname

public java.lang.String hostname()
Name: hostname
Desc: This function will return the host name.

Returns:
String --> the host name of this object.