public class SshSession extends Object
Constructor and Description |
---|
SshSession(SshConnection owner,
com.trilead.ssh2.Session session) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
execCommand(String command) |
InputStream |
getErr() |
Integer |
getExitCode() |
String |
getExitSignal() |
OutputStream |
getIn() |
InputStream |
getOut() |
void |
ping() |
void |
waitForCondition(int code,
long timeout) |
public SshSession(SshConnection owner, com.trilead.ssh2.Session session)
public void close()
public InputStream getOut()
public InputStream getErr()
public OutputStream getIn()
public Integer getExitCode()
public String getExitSignal()
public void waitForCondition(int code, long timeout)
public void execCommand(String command) throws IOException
IOException
public void ping() throws IOException
IOException
Copyright © 2022. All rights reserved.