sshd 2.15.0
org.apache.sshd.core
org.apache.sshd.common.channel
ChannelPipedSink
Top
Methods
org.apache.sshd.common.channel
public
Interface ChannelPipedSink
extends
Channel
Known Direct Implementers
org.
apache.
sshd.
common.
channel.
ChannelPipedInputStream
Imports
java.
io.
IOException
Author
Apache MINA SSHD Project
Method Summary
Modifier and Type
Method and Description
public
void
eof
()
Signal end of writing to the sink
public
void
receive
(
byte[]
Bytes to be sent to the sink
bytes
,
int
Offset in buffer
off
,
int
Number of bytes
len
)
Inherited from
java.nio.channels.Channel
:
close
isOpen
Method Detail
eof
back to summary
public
void
eof
()
Signal end of writing to the sink
receive
back to summary
public
void
receive
(
byte[] bytes,
int off,
int len
)
throws
IOException
Parameters
bytes:
byte[]
Bytes to be sent to the sink
off:
int
Offset in buffer
len:
int
Number of bytes
Exceptions
IOException
:
If failed to send the data