NettyTcpResponse response = new NettyTcpResponse(event.getChannel());
Channel channel = ctx.getChannel();
InetSocketAddress localSocketAddress = (InetSocketAddress) channel.getLocalAddress();
InetSocketAddress remoteSocketAddress = (InetSocketAddress) channel.getRemoteAddress();
byte[] buffer = (byte[]) event.getMessage();
IRequest request = new NettyTcpRequest(buffer, localSocketAddress, remoteSocketAddress);
// process request in super class
super.messageReceived(request, response, channel);
}