@Override public void channelRead(ChannelHandlerContext ctx,Object msg) throws Exception {
  Command command=(Command)msg;
  executeCommand(ctx,command);
}

@ Override public void channelRead ( ChannelHandlerContext ctx , Object msg ) throws Exception { Command command = ( Command ) msg ; executeCommand ( ctx , command ) ; }
this will handle the execution of received commands
