public class SshConnector extends Object
| Constructor and Description |
|---|
SshConnector() |
| Modifier and Type | Method and Description |
|---|---|
static com.trilead.ssh2.ConnectionInfo |
connect(com.trilead.ssh2.Connection conn,
int timeoutMillis) |
static com.trilead.ssh2.Connection |
createConnection(String host,
int port) |
public static com.trilead.ssh2.Connection createConnection(String host, int port) throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic static com.trilead.ssh2.ConnectionInfo connect(com.trilead.ssh2.Connection conn,
int timeoutMillis)
throws IOException
IOExceptionCopyright © 2016–2018. All rights reserved.