public void channelOpenConfirmation(Buffer buffer) throws IOException { Channel channel = getChannel(SshConstants.SSH_MSG_CHANNEL_OPEN_CONFIRMATION, buffer); if (channel == null) { return; // debug breakpoint } int sender = buffer.getInt(); long rwsize = buffer.getUInt(); long rmpsize = buffer.getUInt(); if (log.isDebugEnabled()) { log.debug("channelOpenConfirmation({}) SSH_MSG_CHANNEL_OPEN_CONFIRMATION sender={}, window-size={}, packet-size={}", channel, sender, rwsize, rmpsize); } /* * NOTE: the 'sender' of the SSH_MSG_CHANNEL_OPEN_CONFIRMATION is the * recipient on the client side - see rfc4254 section 5.1: * * 'sender channel' is the channel number allocated by the other side * * in our case, the server */ channel.handleOpenSuccess(sender, rwsize, rmpsize, buffer); }
public void channelOpenConfirmation(Buffer buffer) throws IOException { Channel channel = getChannel(SshConstants.SSH_MSG_CHANNEL_OPEN_CONFIRMATION, buffer); if (channel == null) { return; // debug breakpoint } int sender = buffer.getInt(); long rwsize = buffer.getUInt(); long rmpsize = buffer.getUInt(); if (log.isDebugEnabled()) { log.debug("channelOpenConfirmation({}) SSH_MSG_CHANNEL_OPEN_CONFIRMATION sender={}, window-size={}, packet-size={}", channel, sender, rwsize, rmpsize); } /* * NOTE: the 'sender' of the SSH_MSG_CHANNEL_OPEN_CONFIRMATION is the * recipient on the client side - see rfc4254 section 5.1: * * 'sender channel' is the channel number allocated by the other side * * in our case, the server */ channel.handleOpenSuccess(sender, rwsize, rmpsize, buffer); }