public getAllServersWithPreferredServer_result deepCopy() { return new getAllServersWithPreferredServer_result(this); }
public getAllServersWithPreferredServer_result getResult(I iface, getAllServersWithPreferredServer_args args) throws org.apache.thrift.TException { getAllServersWithPreferredServer_result result = new getAllServersWithPreferredServer_result(); try { result.success = iface.getAllServersWithPreferredServer(args.serverTypes, args.serverGroups, args.failedServers); } catch (GFXDException error) { result.error = error; } return result; } }
public List<HostAddress> recv_getAllServersWithPreferredServer() throws GFXDException, 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"); }