| Modifier and Type | Method and Description |
|---|---|
| public default ScpClient | Returns: AnScpClient instanceNote uses the currently registered
The session)ClientSessionCreate an SCP client from this session. |
| public default ScpClient | Returns: AnScpClient instanceThe session, ScpTransferEventListener ClientSessionA listener)ScpTransferEventListener that can be used to receive information about the SCP
operations - may be null to indicate no more events are requiredNote this
listener is used instead of any listener set via
Create an SCP client from this session. |
| public default ScpClient | Returns: AnScpClient instanceThe session, ScpFileOpener ClientSessionThe opener)ScpFileOpener to use to control how local files are read/written. If null
then a default opener is usedNote this opener is used instead of any instance
set via Create an SCP client from this session. |
| public ScpClient | Returns: AnScpClient instanceThe session, ScpFileOpener ClientSessionThe opener, ScpTransferEventListener ScpFileOpener to use to control how local files are read/written. If null
then a default opener is usedNote this opener is used instead of any instance
set via A listener)ScpTransferEventListener that can be used to receive information about the SCP
operations - may be null to indicate no more events are requiredNote this
listener is used instead of any listener set via
Create an SCP client from this session. |
| public ScpTransferEventListener | Returns: The lastScpTransferEventListener set via
setScpTransferEventListener(ScpTransferEventListener)
|
| public static ScpClientCreator | |
| public void | setScpTransferEventListener(ScpTransferEventListener
A default listener)ScpTransferEventListener that can be used to receive information about the SCP
operations - may be null to indicate no more events are required
|
| createScpClient | back to summary |
|---|---|
| public default ScpClient createScpClient(ClientSession session) Create an SCP client from this session.
| |
| createScpClient | back to summary |
|---|---|
| public default ScpClient createScpClient(ClientSession session, ScpTransferEventListener listener) Create an SCP client from this session.
| |
| createScpClient | back to summary |
|---|---|
| public default ScpClient createScpClient(ClientSession session, ScpFileOpener opener) Create an SCP client from this session.
| |
| createScpClient | back to summary |
|---|---|
| public ScpClient createScpClient(ClientSession session, ScpFileOpener opener, ScpTransferEventListener listener) Create an SCP client from this session.
| |
| getScpTransferEventListener | back to summary |
|---|---|
public ScpTransferEventListener getScpTransferEventListener()
| |
| instance | back to summary |
|---|---|
| public static ScpClientCreator instance() | |
| setScpTransferEventListener | back to summary |
|---|---|
public void setScpTransferEventListener(ScpTransferEventListener listener)
| |