|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--host
Class: host
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 | |
host(java.lang.String strHost,
int intNewPort)
Name: host Desc: This is the only constructor for this object. |
Method Summary | |
java.lang.String |
hostname()
Name: hostname Desc: This function will return the host name. |
int |
port()
Name: port Desc: This function will return the port the host should listen on. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public host(java.lang.String strHost, int intNewPort)
strHost
- --> String, the name of the hostintNewPort
- --> int, the port to listen onMethod Detail |
public int port()
public java.lang.String hostname()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |