public List<HostAddress> recv_getAllServersWithPreferredServer() throws SnappyException, org.apache.thrift.TException
{
getAllServersWithPreferredServer_result result = new getAllServersWithPreferredServer_result();
receiveBase(result, "getAllServersWithPreferredServer");
if (result.isSetSuccess()) {
return result.success;
}
if (result.error != null) {
throw result.error;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getAllServersWithPreferredServer failed: unknown result");
}