* @param buffer the buffer containing the packet
* @throws Exception if an error occurs
*/
protected void channelClose(Buffer buffer) throws IOException {
Channel channel = getChannel(buffer);
channel.handleClose();
unregisterChannel(channel);
}
/**
* Remove this channel from the list of managed channels