Package org.apache.sshd.sftp.client.impl
Class SftpOutputStreamAsync.ChannelReader
- java.lang.Object
-
- org.apache.sshd.sftp.client.impl.SftpOutputStreamAsync.ChannelReader
-
- All Implemented Interfaces:
SftpOutputStreamAsync.ByteInput
- Enclosing class:
- SftpOutputStreamAsync
private static class SftpOutputStreamAsync.ChannelReader extends java.lang.Object implements SftpOutputStreamAsync.ByteInput
-
-
Field Summary
Fields Modifier and Type Field Description private java.nio.channels.ReadableByteChannel
src
private long
stillToRead
-
Constructor Summary
Constructors Constructor Description ChannelReader(java.nio.channels.ReadableByteChannel src, long toRead)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
read(byte[] buffer, int offset, int length)
-
-
-
Method Detail
-
read
public int read(byte[] buffer, int offset, int length) throws java.io.IOException
- Specified by:
read
in interfaceSftpOutputStreamAsync.ByteInput
- Throws:
java.io.IOException
-
-