public class TrileadSession extends Object implements RemoteSession
| Modifier and Type | Field and Description |
|---|---|
protected com.trilead.ssh2.Connection |
con |
| Constructor and Description |
|---|
TrileadSession(com.trilead.ssh2.Connection con)
Constructor for TrileadSession.
|
| Modifier and Type | Method and Description |
|---|---|
void |
disconnect() |
Process |
exec(String commandName,
int timeout) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFtpChannelpublic TrileadSession(com.trilead.ssh2.Connection con)
con - a Connection object for this session's connection.public Process exec(String commandName, int timeout) throws IOException
exec in interface RemoteSessionIOExceptionpublic void disconnect()
disconnect in interface RemoteSessionCopyright © 2013–2020. All rights reserved.