public interface ChannelStreamWriter
extends java.nio.channels.Channel
SshConstants.SSH_MSG_CHANNEL_DATA and
SshConstants.SSH_MSG_CHANNEL_EXTENDED_DATA commands.| Modifier and Type | Method and Description |
|---|---|
IoWriteFuture |
writeData(Buffer buffer)
Encode and send the given data packet buffer.
|
IoWriteFuture writeData(Buffer buffer) throws java.io.IOException
buffer - the buffer to encode and send. NOTE: the buffer must not be touched until the returned
write future is completed.IoWriteFuture that can be used to check when the packet has actually been sentjava.io.IOException - if an error occurred when encoding or sending the packet