proper.remote
Class JobAdder
java.lang.Object
proper.core.ProperObject
proper.core.ArgumentObject
proper.app.Application
proper.remote.JobAdder
- All Implemented Interfaces:
- CommandLineInterface, ProperInterface, XMLAccessInterface
public class JobAdder
- extends Application
This class adds jobs to a specified JobServer.
For a complete list of commandline parameters just run it with the option
"-help".
- Version:
- $Revision: 1.2 $
- Author:
- FracPete
- See Also:
JobServer
Constructor Summary |
JobAdder()
initializes the object |
Method Summary |
java.lang.String |
getServerHostName()
returns the server to connect to |
int |
getServerPort()
returns the server port to connect to |
static void |
main(java.lang.String[] args)
starts the application |
void |
printDescription()
prints a short description of this class |
Methods inherited from class proper.app.Application |
checkCommandLine, createInstance, fromXML, parameterError, printUsage, run, run, setArgs, setArgs, toString, toXML |
Methods inherited from class proper.core.ProperObject |
addListener, addOutput, classInVerbose, debugprint, debugprint, debugprint, debugprint, debugprintln, debugprintln, debugprintln, debugprintln, debugprintln, getListeners, getRuntime, getVerbose, getVerboseLevel, getVerboseLevelForClass, getVerboseString, getVerboseStringForClass, notifyListener, notifyListeners, print, print, print, print, println, println, println, println, println, printMemory, removeListener, setOutput, setVerbose, setVerboseLevel, setVerboseString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
JobAdder
public JobAdder()
- initializes the object
printDescription
public void printDescription()
- prints a short description of this class
- Specified by:
printDescription
in interface CommandLineInterface
- Overrides:
printDescription
in class Application
getServerHostName
public java.lang.String getServerHostName()
- returns the server to connect to
getServerPort
public int getServerPort()
- returns the server port to connect to
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- starts the application
- Throws:
java.lang.Exception