| Package | Description |
|---|---|
| fr.ifremer.isisfish.simulator.launcher |
Isis fish simulation launchers.
|
| fr.ifremer.isisfish.ui.config | |
| fr.ifremer.isisfish.util.ssh |
Utility classes for
SSHSimulatorLauncher. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
SSHSimulatorLauncher.clearSimulationFiles(com.jcraft.jsch.Session session,
SimulationControl control)
Remove all
$ISIS-TMP/simulation-$id-* files on caparmor. |
protected File |
SSHSimulatorLauncher.downloadResultsArchive(com.jcraft.jsch.Session session,
SimulationControl simulationControl,
String md5sum)
Download simulation zip results.
|
protected File |
SSHSimulatorLauncher.downloadResultsMD5File(com.jcraft.jsch.Session sshSession,
String simulationId)
Download remote simulation md5 control file and store its content into temp
file.
|
protected File |
SSHSimulatorLauncher.downloadSimulationFile(com.jcraft.jsch.Session sshSession,
String simulationId,
String fileName)
Download remote simulation control file and store its content into temp
file.
|
protected void |
SSHSimulatorLauncher.sendStartSimulationRequest(com.jcraft.jsch.Session session,
String simulationId,
String scriptRemotePath,
int lastSimulationNumber)
Add script in remote qsub queue.
|
protected void |
SSHSimulatorLauncher.sendStopSimulationRequest(com.jcraft.jsch.Session session,
String simulationId)
Send qdel request on job.
|
protected String |
SSHSimulatorLauncher.uploadPreScriptIfNecessary(com.jcraft.jsch.Session session,
String simulationId,
String simulationPreScript)
Upload pre script on remote server.
|
protected void |
SSHSimulatorLauncher.uploadSimulation(com.jcraft.jsch.Session session,
String remoteDirectory,
String remoteSimulationZipPath,
File simulationFile)
Perform simulation upload.
|
protected String |
SSHSimulatorLauncher.uploadSimulationIfNecessary(com.jcraft.jsch.Session session,
SimulationItem simulationItem,
String simulationid,
File simulationFile)
Upload simulation if necessary and always return the remote
simulation zip path to use.
|
protected String |
SSHSimulatorLauncher.uploadSimulationScript(com.jcraft.jsch.Session session,
String simulationid,
File simulationScript)
Upload script on remote server.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
SSHLauncherConfigAction.getFolderSize(com.jcraft.jsch.Session session,
String path)
Get user home directory with an opened session.
|
protected String |
SSHLauncherConfigAction.getUserHomeDirectory(com.jcraft.jsch.Session session)
Get user home directory with an opened session.
|
| Modifier and Type | Method and Description |
|---|---|
protected static void |
SSHUtils.doSingleTransfer(com.jcraft.jsch.Session session,
File localFile,
String remoteFilePath) |
static int |
SSHUtils.exec(com.jcraft.jsch.Session session,
String command)
Exec command on remote server.
|
static int |
SSHUtils.exec(com.jcraft.jsch.Session session,
String command,
Writer out)
Exec command on remote server.
|
protected static void |
SSHUtils.parseAndFetchFile(String serverResponse,
File localFile,
OutputStream out,
InputStream in,
ProgressMonitor monitor) |
static void |
SSHUtils.scpFrom(com.jcraft.jsch.Session session,
String remoteFileName,
File localFile)
Download a local file from remote server and check md5sum.
|
static void |
SSHUtils.scpFrom(com.jcraft.jsch.Session session,
String remoteFileName,
File localFile,
ProgressMonitor monitor)
Download a local file from remote server and check md5sum.
|
static void |
SSHUtils.scpTo(com.jcraft.jsch.Session session,
File localFile,
String remoteFilePath)
Upload file on remote server.
|
protected static void |
SSHUtils.sendFileToRemote(File localFile,
InputStream in,
OutputStream out) |
static void |
SSHUtils.sftpFrom(com.jcraft.jsch.Session session,
File localFile,
String remotePath)
Perform sftp file transfert.
|
static void |
SSHUtils.sftpTo(com.jcraft.jsch.Session session,
File localFile,
String remoteFilePath)
Perform sftp file transfert.
|
protected static void |
SSHUtils.startRemoteCpProtocol(InputStream in,
OutputStream out,
File localFile,
ProgressMonitor monitor) |
protected static void |
SSHUtils.waitForAck(InputStream in)
Reads the response, throws a BuildException if the response
indicates an error.
|
Copyright © 1999-2013 CodeLutin. All Rights Reserved.