protected void read(SelectionKey key) throws IOException { SocketChannel socketChannel = (SocketChannel) key.channel(); this.resetClientTimer(socketChannel.socket()); super.read(key); }