break;
case CacheTopologyControlCommand.COMMAND_ID:
command = new CacheTopologyControlCommand();
break;
case GetKeysInGroupCommand.COMMAND_ID:
command = new GetKeysInGroupCommand();
break;
default:
throw new CacheException("Unknown command id " + id + "!");
}
} else {