public void setAllowMoreSessions(boolean allow) {
allowMoreSessions = allow;
}
public void channelOpenConfirmation(Buffer buffer) throws IOException {
Channel channel = getChannel(buffer);
log.debug("Received SSH_MSG_CHANNEL_OPEN_CONFIRMATION on channel {}", channel.getId());
int recipient = buffer.getInt();
int rwsize = buffer.getInt();
int rmpsize = buffer.getInt();
channel.handleOpenSuccess(recipient, rwsize, rmpsize, buffer);
}