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
ShellExecutionException
public boolean startShell(NodeParameters param, NodeShellListener listener) throws ShellExecutionException
NodeShell
startShell
in interface NodeShell
param
- 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 NodeShell
public String paramToString(NodeShellParameters nsp)
paramToString
in interface NodeShell
public String description()
description
in interface NodeShell
public static SSHNodeShell getShell()
Copyright © 2015–2021 Fiji. All rights reserved.