Package org.apache.sshd.common.channel
Interface ChannelPipedSink
-
- All Superinterfaces:
AutoCloseable
,Channel
,Closeable
- All Known Implementing Classes:
ChannelPipedInputStream
public interface ChannelPipedSink extends Channel
- Author:
- Apache MINA SSHD Project
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
eof()
Signal end of writing to the sinkvoid
receive(byte[] bytes, int off, int len)
-
-
-
Method Detail
-
receive
void receive(byte[] bytes, int off, int len) throws IOException
- Parameters:
bytes
- Bytes to be sent to the sinkoff
- Offset in bufferlen
- Number of bytes- Throws:
IOException
- If failed to send the data
-
eof
void eof()
Signal end of writing to the sink
-
-