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 TypeMethod 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:
closeisOpen

Method Detail

eofback to summary
public void eof()

Signal end of writing to the sink

receiveback 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