Class ScpClientIO.ScpEngineIO

java.lang.Object
com.sshtools.client.scp.ScpClientIO.ScpEngineIO
Direct Known Subclasses:
ScpClient.ScpEngine
Enclosing class:
ScpClientIO

public class ScpClientIO.ScpEngineIO extends Object

Implements an SCP engine.

  • Field Details

    • buffer

      protected byte[] buffer
    • cmd

      protected String cmd
    • session

      protected com.sshtools.common.ssh.SessionChannel session
    • out

      protected OutputStream out
    • in

      protected InputStream in
  • Constructor Details

    • ScpEngineIO

      protected ScpEngineIO(String cmd, SessionChannelNG session) throws com.sshtools.common.ssh.SshException

      Contruct the channel with the specified scp command.

      Parameters:
      cmd - the scp command
      session - the session to scp over
      Throws:
      com.sshtools.common.ssh.SshException
  • Method Details