protected final Boolean receiveResponse(final InputStream inputStream) throws IOException {
ByteDataInput input = null;
try {
input = new SimpleByteDataInput(inputStream);
expectHeader(input, StandaloneClientProtocol.PARAM_DEPLOYMENT_NAME_UNIQUE);
return input.readBoolean();
} finally {
safeClose(input);
}
}
}