public class DefaultScpClientCreator extends AbstractScpClientCreator
| Modifier and Type | Field and Description |
|---|---|
static DefaultScpClientCreator |
INSTANCE |
log| Constructor and Description |
|---|
DefaultScpClientCreator() |
| Modifier and Type | Method and Description |
|---|---|
ScpClient |
createScpClient(ClientSession session,
ScpFileOpener opener,
ScpTransferEventListener listener)
Create an SCP client from this session.
|
getScpFileOpener, getScpTransferEventListener, setScpFileOpener, setScpTransferEventListenerdebug, debug, debug, debug, debug, error, error, error, error, error, getSimplifiedLogger, info, info, warn, warn, warn, warn, warn, warn, warn, warnclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateScpClient, createScpClient, createScpClient, instancepublic static final DefaultScpClientCreator INSTANCE
public ScpClient createScpClient(ClientSession session, ScpFileOpener opener, ScpTransferEventListener listener)
ScpClientCreatorsession - The ClientSessionopener - The ScpFileOpener to use to control how local files are read/written. If null
then a default opener is used. Note: this opener is used instead of any instance
set via ScpFileOpenerHolder.setScpFileOpener(ScpFileOpener)listener - A ScpTransferEventListener that can be used to receive information about the SCP
operations - may be null to indicate no more events are required. Note: this
listener is used instead of any listener set via
ScpClientCreator.setScpTransferEventListener(ScpTransferEventListener)ScpClient instanceCopyright © 2018–2021 The Apache Software Foundation. All rights reserved.