Class SftpInputStreamAsync

All Implemented Interfaces:
Closeable, AutoCloseable, Channel, SftpClientHolder

public class SftpInputStreamAsync extends InputStreamWithChannel implements SftpClientHolder
  • Field Details

    • log

      protected final org.slf4j.Logger log
    • bb

      protected final byte[] bb
    • fileSize

      protected final long fileSize
    • buffer

      protected Buffer buffer
    • handle

      protected SftpClient.CloseableHandle handle
    • requestOffset

      protected long requestOffset
    • clientOffset

      protected long clientOffset
    • pendingReads

      protected final Deque<SftpAckData> pendingReads
    • eofIndicator

      protected boolean eofIndicator
    • bufferSize

      protected int bufferSize
    • maxReceived

      protected int maxReceived
    • shortReads

      protected long shortReads
    • bufferAdjusted

      protected boolean bufferAdjusted
    • clientInstance

      private final AbstractSftpClient clientInstance
    • path

      private final String path
  • Constructor Details

  • Method Details