@Override
protected void channelRead0(ChannelHandlerContext ctx, ClientRequest object) throws Exception {
if (object instanceof MongoQuery) {
ctx.channel().writeAndFlush(handleQuery(ctx.channel(), (MongoQuery) object));
} else if (object instanceof MongoInsert) {
MongoInsert insert = (MongoInsert) object;
mongoBackend.handleInsert(insert);
} else if (object instanceof MongoDelete) {
MongoDelete delete = (MongoDelete) object;
mongoBackend.handleDelete(delete);
} else if (object instanceof MongoUpdate) {