@Override public void onConfigurationResponse(ConfigurationSyncResponse response) throws IOException { if (clientState != null && configProcessor != null) { ByteBuffer schemaBody = response.getConfSchemaBody(); if (schemaBody != null && schemaProcessor != null) { schemaProcessor.loadSchema(schemaBody); } ByteBuffer confBody = response.getConfDeltaBody(); if (confBody != null) { configProcessor.processConfigurationData(confBody, response.getResponseStatus().equals(SyncResponseStatus.RESYNC)); } syncAck(response.getResponseStatus()); LOG.info("Processed configuration response."); } }