public interface ChannelStreamWriter extends 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 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 sentIOException - if an error occurred when encoding or sending the packetCopyright © 2008–2021 The Apache Software Foundation. All rights reserved.