A C D F G H M N P R S W

A

alias - class alias.
Class: host
This object is really a record and may one day be incorporated into a tree.
alias() - Method in class alias
Name: alias Desc: This function will return the alias of the host.
alias(String, String) - Constructor for class alias
Name: alias Desc: This is the only constructor for this object.

C

Connection - class Connection.
Name: Connection Desc: This object is instantiated when a Server object accepts an incomming connection from a nsjc client.
Connection(Socket, nsjsd, String) - Constructor for class Connection
Name: Connection Desc: This function is the constructor and the only way, currently, that you can initialize the internal instance variables to run the object.

D

DEFAULT_PORT - Static variable in class nsjsd
Default port that the server will monitor in the event none is specified

F

fail(Exception, String) - Static method in class nsjsd
Name: fail Desc: This function will print an error message to the command line along with any exception information that is passed in with it.
fail(Exception, String) - Method in class Server
Name: fail Desc: Calls the nsjsd parent's fail method.

G

getAlias() - Method in class nsjsd
Name: get Alias Desc: This method is provided so that other objects can get the internal Vector of Aliases at any time.
getCommandFile() - Method in class nsjsd
Name: get Command File Desc: This method returns the command file obtained from the config file.
getHosts() - Method in class nsjsd
Name: get Hosts Desc: This method is provided so that other objects can get the internal Vector of Hosts at any time.
getThread() - Method in class Server
Name: get Thread Desc: This function will return the running thread as an object.

H

host - class host.
Class: host
This object is really a record and may one day be incorporated into a tree.
host(String, int) - Constructor for class host
Name: host Desc: This is the only constructor for this object.
hostname() - Method in class alias
Name: hostname Desc: This function will return the host name.
hostname() - Method in class host
Name: hostname Desc: This function will return the host name.

M

main(String[]) - Static method in class nsjsd
This routine is run when the object is instantiated from the command line.

N

nsjsd - class nsjsd.
Name: NetSaint Java Server Desc: This piece is desinged as a companion to NetSaint (now called Nagios).
nsjsd(String) - Constructor for class nsjsd
Name: nsjsd
Desc: This is the only constructor for the object.

P

port() - Method in class host
Name: port Desc: This function will return the port the host should listen on.
printCommandLine() - Static method in class nsjsd
Name: print Command Line Desc: This function will print to the command line usage information.

R

run() - Method in class Connection
Name: run Desc: This function is provided because this object implements the runnable interface.
run() - Method in class Server
Name: run Desc: This function is an over-riding method for implementing Threads.

S

Server - class Server.
Name: Server Desc: This object is designed to listen on a specific port for incomming connections from a nsjc client.
Server(int, nsjsd) - Constructor for class Server
Name: Server Desc: The constructor of the Server object.

W

writeCommand(String) - Method in class nsjsd
Name: write Command Desc: This function will write information to the command file as designated in the config file.
writelog(String) - Method in class nsjsd
Name: write log Desc: This function will write information to the log file as designated in the config file.
writelog(String) - Method in class Server
Name: write log Desc: Calls the nsjsd parent's write log method.

A C D F G H M N P R S W