@FunctionalInterface public interface ChannelStreamWriterResolver
ChannelOutputStream-s -
e.g., by introducing throttling| Modifier and Type | Field and Description |
|---|---|
static ChannelStreamWriterResolver |
NONE
An identity resolver - i.e., no special intervention - simply use the channel itself
|
| Modifier and Type | Method and Description |
|---|---|
ChannelStreamWriter |
resolveChannelStreamWriter(Channel channel,
byte cmd) |
static final ChannelStreamWriterResolver NONE
ChannelStreamWriter resolveChannelStreamWriter(Channel channel, byte cmd)
channel - The original Channelcmd - The SSH_MSG_CHANNEL_DATA or SSH_MSG_CHANNEL_EXTENDED_DATA command that triggered
the resolutionChannelStreamWriter to use - Note: if the return value is not a
Channel then it will be closed when the stream is closedCopyright © 2008–2021 The Apache Software Foundation. All rights reserved.