public class SSHNodeShell extends Object implements NodeShell
| Constructor and Description |
|---|
SSHNodeShell() |
| Modifier and Type | Method and Description |
|---|---|
NodeShellParameters |
defaultParameters() |
String |
description() |
protected String |
getArguments(NodeParameters param,
NodeShellListener listener) |
static SSHNodeShell |
getShell() |
protected void |
handleJSE(com.jcraft.jsch.JSchException jse,
NodeParameters param) |
String |
name() |
String |
paramToString(NodeShellParameters nsp) |
boolean |
startShell(NodeParameters param,
NodeShellListener listener)
Start the ClusterNode given by the NodeParameters, by starting an ArchipelagoClient in a
Fiji or ImageJ instance on the remote node.
|
protected String getArguments(NodeParameters param, NodeShellListener listener)
protected void handleJSE(com.jcraft.jsch.JSchException jse,
NodeParameters param)
throws ShellExecutionException
ShellExecutionExceptionpublic boolean startShell(NodeParameters param, NodeShellListener listener) throws ShellExecutionException
NodeShellstartShell in interface NodeShellparam - parameters used to connect to the machine in questionlistener - used to handle open IO streams and closing of the shell connectionShellExecutionException - if an error occurs while attempting topublic NodeShellParameters defaultParameters()
defaultParameters in interface NodeShellpublic String paramToString(NodeShellParameters nsp)
paramToString in interface NodeShellpublic String description()
description in interface NodeShellpublic static SSHNodeShell getShell()
Copyright © 2015–2021 Fiji. All rights reserved.