private static class SshWorker.SshTask extends java.lang.Object implements java.util.concurrent.Callable<ResponseOnSingeRequest>
Modifier and Type | Field and Description |
---|---|
private SshMeta |
sshMeta
The ssh meta.
|
private java.lang.String |
targetHost
The target host.
|
Constructor and Description |
---|
SshTask(SshMeta sshMeta,
java.lang.String targetHost)
Instantiates a new ssh task.
|
Modifier and Type | Method and Description |
---|---|
ResponseOnSingeRequest |
call() |
private SshMeta sshMeta
private java.lang.String targetHost
public SshTask(SshMeta sshMeta, java.lang.String targetHost)
sshMeta
- the ssh metatargetHost
- the target hostpublic ResponseOnSingeRequest call() throws java.lang.Exception
call
in interface java.util.concurrent.Callable<ResponseOnSingeRequest>
java.lang.Exception