| Modifier and Type | Field and Description |
|---|---|
| private SimpleClient | |
| private ScpClientCreator |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| protected CloseableScpClient | |
| protected CloseableScpClient | |
| public SimpleClient | |
| public ScpClientCreator | |
| public boolean | |
| public CloseableScpClient | scpLogin(SocketAddress
The target target, String SocketAddressUsername username, String Password password)Implements org. Creates an SCP session using the provided credentials |
| public CloseableScpClient | scpLogin(SocketAddress
The target target, String SocketAddressUsername username, KeyPair The identity)KeyPair identityImplements org. Creates an SCP session using the provided credentials |
| public void | |
| public void |
| clientInstance | back to summary |
|---|---|
| private SimpleClient clientInstance | |
| scpClientCreator | back to summary |
|---|---|
| private ScpClientCreator scpClientCreator | |
| SimpleScpClientImpl | back to summary |
|---|---|
| public SimpleScpClientImpl() | |
| SimpleScpClientImpl | back to summary |
|---|---|
| public SimpleScpClientImpl(SimpleClient client) | |
| SimpleScpClientImpl | back to summary |
|---|---|
| public SimpleScpClientImpl(SimpleClient client, ScpClientCreator scpClientCreator) | |
| close | back to summary |
|---|---|
| public void close() throws IOException Implements java. Doc from java. Closes this channel. After a channel is closed, any further attempt to invoke I/O
operations upon it will cause a If this channel is already closed then invoking this method has no effect. This method may be invoked at any time. If some other thread has already invoked it, however, then another invocation will block until the first invocation is complete, after which it will return without effect.
| |
| createScpClient | back to summary |
|---|---|
| protected CloseableScpClient createScpClient(IOFunction<? super SimpleClient, ? extends ClientSession> sessionProvider) throws IOException | |
| createScpClient | back to summary |
|---|---|
| protected CloseableScpClient createScpClient(ClientSession session) throws IOException | |
| getClient | back to summary |
|---|---|
| public SimpleClient getClient() | |
| getScpClientCreator | back to summary |
|---|---|
| public ScpClientCreator getScpClientCreator() | |
| isOpen | back to summary |
|---|---|
| public boolean isOpen() Implements java. Doc from java. Tells whether or not this channel is open.
| |
| scpLogin | back to summary |
|---|---|
| public CloseableScpClient scpLogin(SocketAddress target, String username, String password) throws IOException Implements org. Doc from org. Creates an SCP session using the provided credentials
| |
| scpLogin | back to summary |
|---|---|
| public CloseableScpClient scpLogin(SocketAddress target, String username, KeyPair identity) throws IOException Implements org. Doc from org. Creates an SCP session using the provided credentials
| |
| setClient | back to summary |
|---|---|
| public void setClient(SimpleClient client) | |
| setScpClientCreator | back to summary |
|---|---|
| public void setScpClientCreator(ScpClientCreator scpClientCreator) | |