public class SshClientAdapter extends Object implements SshClientFactory
Constructor and Description |
---|
SshClientAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
authenticateClient(SshClient client)
Authenticate the client.
|
void |
configureConnector(SshConnector con)
Configure the connector.
|
SshTransport |
createTransport(String host,
int port)
Create the
SshTransport for use by new connections |
public void configureConnector(SshConnector con) throws SshException
SshClientFactory
configureConnector
in interface SshClientFactory
SshException
public SshTransport createTransport(String host, int port) throws IOException
SshClientFactory
SshTransport
for use by new connectionscreateTransport
in interface SshClientFactory
IOException
public void authenticateClient(SshClient client) throws SshException
SshClientFactory
authenticateClient
in interface SshClientFactory
SshException
Copyright © 2024. All rights reserved.