WebFlow.submitJob
Class submitJobImpl
WebFlow.submitJob.submitJobImpl
- public class submitJobImpl
Constructor Summary |
submitJobImpl(org.omg.CORBA.Object peer,
java.lang.String msg)
|
Method Summary |
java.lang.String |
copyFileFromBackend(java.lang.String options,
java.lang.String user,
java.lang.String host,
java.lang.String remoteFile,
java.lang.String localFile,
java.lang.String carrier)
======================================================================
Copy a file from the backend to the server. |
java.lang.String |
copyFileToBackend(java.lang.String options,
java.lang.String localFile,
java.lang.String user,
java.lang.String host,
java.lang.String remoteFile,
java.lang.String carrier)
======================================================================
Copy a file from the server to the backend. |
java.lang.String |
execLocalCommand(java.lang.String command)
============================================================
Execute the command on the same machine as the server
containing the submitJob module. |
java.lang.String |
execRemoteCommand(java.lang.String host,
java.lang.String user,
java.lang.String command,
java.lang.String carrier)
======================================================================
Execute the command remotely, using either rsh or ssh as specified
by the "carrier" variable. |
void |
test()
|
submitJobImpl
public submitJobImpl(org.omg.CORBA.Object peer,
java.lang.String msg)
throws WebFlow.NullPointerException
test
public void test()
execLocalCommand
public java.lang.String execLocalCommand(java.lang.String command)
- ============================================================
Execute the command on the same machine as the server
containing the submitJob module. Returns the standard
output of the command, if any. Debugging messages are
written to /tmp/monitor.log.
============================================================
execRemoteCommand
public java.lang.String execRemoteCommand(java.lang.String host,
java.lang.String user,
java.lang.String command,
java.lang.String carrier)
- ======================================================================
Execute the command remotely, using either rsh or ssh as specified
by the "carrier" variable. Returns the standard output of the command.
It is assumed that if ssh is used, it is set up so as not to need a
password or passphrase before executing.
The variable carrier either equals rsh or ssh.
======================================================================
copyFileFromBackend
public java.lang.String copyFileFromBackend(java.lang.String options,
java.lang.String user,
java.lang.String host,
java.lang.String remoteFile,
java.lang.String localFile,
java.lang.String carrier)
- ======================================================================
Copy a file from the backend to the server.
======================================================================
copyFileToBackend
public java.lang.String copyFileToBackend(java.lang.String options,
java.lang.String localFile,
java.lang.String user,
java.lang.String host,
java.lang.String remoteFile,
java.lang.String carrier)
- ======================================================================
Copy a file from the server to the backend.
======================================================================