class SshRunnable
Modifiers | Name | Description |
---|---|---|
private groovy.lang.Closure |
closure |
|
private ch.ethz.ssh2.Connection |
connection |
|
private SSHUtil |
sshUtil |
Constructor and description |
---|
SshRunnable
(groovy.lang.Closure closure) |
SshRunnable
(SSHUtil sshUtil, ch.ethz.ssh2.Connection connection, groovy.lang.Closure closure) @param sshUtil : SSHUtil currently in use the class passed in |
Type | Name and description |
---|---|
void |
run() |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
sshUtil
- : SSHUtil currently in use the class passed inconnection
- : SshUtil's existing connection
can be swapped to other connections if there are existing multiple connectionclosure
- : carrying out actual work