org.apache.sshd.common.SshConstants#SSH_MSG_CHANNEL_DATA and
org.apache.sshd.common.SshConstants#SSH_MSG_CHANNEL_EXTENDED_DATA commands.
| Modifier and Type | Method and Description |
|---|---|
| public IoWriteFuture | Returns: AnIoWriteFuture that can be used to check when the packet has actually been sentthe buffer to encode and send buffer)Note the buffer must not be touched until the returned write future is completed. Encode and send the given data packet buffer Note the buffer has to have 5 bytes free at the beginning to allow the encoding to take place. |
| writeData | back to summary |
|---|---|
| public IoWriteFuture writeData(Buffer buffer) throws IOException Encode and send the given data packet buffer Note the buffer has to have 5 bytes free at the beginning to allow the encoding to take place. Also, the write position of the buffer has to be set to the position of the last byte to write.
| |