|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object netcom.mds.MDSCLI
Title: MDS CLI
Description: This Class starts the MDS program and offers a Command Line Interface for global settings to be changed on the fly
Company: NETCOM
Constructor Summary | |
protected |
MDSCLI(MDS mds)
Constructor for MDSCLI, used to keep references upon shutdown |
Method Summary | |
void |
bloomsearch(java.lang.String[] args)
This is a function used by runCLI to handle the user setting whether to use a Bloom search method or not |
void |
debug(java.lang.String[] args)
This is a function used by runCLI to set whether verbose information is pumped to the screen or not |
void |
exit(java.lang.String[] args)
This is a function used by runCLI to handle the user inputting the command "exit" |
void |
help(java.lang.String[] args)
This is a function used by runCLI to handle the user inputting the command "help" |
static void |
main(java.lang.String[] args)
Starts up MDS objects and runs the CLI Takes as an argument the local IP (real ip or dns, NOT localhost) This also takes many other utility arguments that save props file modification but if the utility arguments are to be passed, All arguments are read into their slot according to their order (ie can't ONLY pass the 2nd and 4th argument) We MUST take the local IP from the user... |
void |
setname(java.lang.String[] args)
This is a function used by runCLI to handle the user setting the MDS Node name |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected MDSCLI(MDS mds)
mds
- reference to the mdsMethod Detail |
public static void main(java.lang.String[] args)
args
- your command line input
ARGUMENT 1: the local host name (NOT 127.0.0.1/localhost)
ARGUMENT 2: public void help(java.lang.String[] args)
args
- the arguments of the help commandpublic void exit(java.lang.String[] args)
args
- the arguments of the exit commandpublic void bloomsearch(java.lang.String[] args)
args
- the arguments of the command C-style argument passingpublic void debug(java.lang.String[] args)
args
- the arguments of the command C-style argument passingpublic void setname(java.lang.String[] args)
args
- the arguments of the command, C-sytel argument passing
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |