|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.proactive.scheduler.Communicator
public class Communicator
This is the main class used to communicate with the scheduler daemon to submit the commands to the scheduler like the submission, deletion and statistics of any job and the nodes status command.
Constructor Summary | |
---|---|
Communicator(java.lang.String schedulerURL)
Tries to establish a connection with the scheduler daemon and to get the scheduler object before we begin with the submission of commands |
Method Summary | |
---|---|
static java.lang.String |
getLocalHostName()
Gets the localHostName |
void |
helpScreen(java.lang.String command)
Is the help console. |
static void |
main(java.lang.String[] args)
Lanches the communicator program |
void |
viewJobs(java.util.Vector jobs,
boolean specific)
This method is used to display the descriptions of all the jobs or of a specific job on the shell prompt. |
void |
viewNodes(java.util.Vector nodes,
boolean specific)
This method is used to display the descriptions of all the nodes or of a specific node on the shell prompt. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Communicator(java.lang.String schedulerURL)
schedulerURL
- the scheduler url upon wich we shall connect to the schedulerMethod Detail |
---|
public static void main(java.lang.String[] args)
args
- public static java.lang.String getLocalHostName()
public void helpScreen(java.lang.String command)
command
- the command in forms of "? [commandName]" meaning that we can either
ask for a short description of the commands or we can always a specific help
for a specific command.public void viewNodes(java.util.Vector nodes, boolean specific)
nodes
- a vector of all the nodes or of the specified nodespecific
- if true means that we are about to display the information
of a specific node else it means that we are displaying the information
of all the nodes.public void viewJobs(java.util.Vector jobs, boolean specific)
Jobs
- a vector of all the jobs or of the specified jobspecific
- if true means that we are about to display the information
of a specific job else it means that we are displaying the information
of all the jobs.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |