/** * A channel was closed, locally or remotely. * * @param channel the channel that was closed */ void handleChannelClosed(RemoteConnectionChannel channel) { int channelId = channel.getChannelId(); channels.remove(channel); boolean inbound = (channelId & 0x80000000) == 0; if (inbound) { handleInboundChannelClosed(); } else { handleOutboundChannelClosed(); } }
log.tracef("Received message (chan %08x msg %04x) (%d-%d=%d remaining)", Integer.valueOf(channel.getChannelId()), Short.valueOf(messageId), Integer.valueOf(inboundWindow + bufRemaining), Integer.valueOf(bufRemaining), Integer.valueOf(inboundWindow));
/** * A channel was closed, locally or remotely. * * @param channel the channel that was closed */ void handleChannelClosed(RemoteConnectionChannel channel) { int channelId = channel.getChannelId(); channels.remove(channel); boolean inbound = (channelId & 0x80000000) == 0; if (inbound) { handleInboundChannelClosed(); } else { handleOutboundChannelClosed(); } }
/** * A channel was closed, locally or remotely. * * @param channel the channel that was closed */ void handleChannelClosed(RemoteConnectionChannel channel) { int channelId = channel.getChannelId(); channels.remove(channel); boolean inbound = (channelId & 0x80000000) == 0; if (inbound) { handleInboundChannelClosed(); } else { handleOutboundChannelClosed(); } }
log.tracef("Received message (chan %08x msg %04x) (%d-%d=%d remaining)", Integer.valueOf(channel.getChannelId()), Short.valueOf(messageId), Integer.valueOf(inboundWindow + bufRemaining), Integer.valueOf(bufRemaining), Integer.valueOf(inboundWindow));
log.tracef("Received message (chan %08x msg %04x) (%d-%d=%d remaining)", Integer.valueOf(channel.getChannelId()), Short.valueOf(messageId), Integer.valueOf(inboundWindow + bufRemaining), Integer.valueOf(bufRemaining), Integer.valueOf(inboundWindow));