String[] db = fc.split("\\.", 2);
if ("$cmd".equals(db[1])) {
BSONObject command = query.getQuery();
String c = command.keySet().iterator().next();
CommandHandler handler = commands.get(c);
if (handler != null) {
BSONObject result = handler.handleCommand(db[0], command);
e.getChannel().write(
ReplyMessage.reply((Message) e.getMessage(), 0, 0,
0, result).getBytes());
return;
}