public void send_onOperationsServerListUpdate(List<ThriftOperationsServer> operationsServersList) throws org.apache.thrift.TException { onOperationsServerListUpdate_args args = new onOperationsServerListUpdate_args(); args.setOperationsServersList(operationsServersList); sendBase("onOperationsServerListUpdate", args); }
public onOperationsServerListUpdate_result getResult(I iface, onOperationsServerListUpdate_args args) throws org.apache.thrift.TException { onOperationsServerListUpdate_result result = new onOperationsServerListUpdate_result(); iface.onOperationsServerListUpdate(args.operationsServersList); return result; } }
public void recv_onOperationsServerListUpdate() throws org.apache.thrift.TException { onOperationsServerListUpdate_result result = new onOperationsServerListUpdate_result(); receiveBase(result, "onOperationsServerListUpdate"); return; }
public void setFieldValue(_Fields field, Object value) { switch (field) { case OPERATIONS_SERVERS_LIST: if (value == null) { unsetOperationsServersList(); } else { setOperationsServersList((List<ThriftOperationsServer>)value); } break; } }
public void onOperationsServerListUpdate(List<ThriftOperationsServer> operationsServersList) throws org.apache.thrift.TException { send_onOperationsServerListUpdate(operationsServersList); recv_onOperationsServerListUpdate(); }
public void onOperationsServerListUpdate(List<ThriftOperationsServer> operationsServersList, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); onOperationsServerListUpdate_call method_call = new onOperationsServerListUpdate_call(operationsServersList, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); }
public ThriftOperationsServer( String id, int priority) { this(); this.id = id; this.priority = priority; setPriorityIsSet(true); }
public Client getClient(org.apache.thrift.protocol.TProtocol prot) { return new Client(prot); } public Client getClient(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TProtocol oprot) {
/** * Performs a deep copy on <i>other</i>. */ public onOperationsServerListUpdate_args(onOperationsServerListUpdate_args other) { if (other.isSetOperationsServersList()) { this.operationsServersList = other.operationsServersList; } }
@Override public boolean equals(Object that) { if (that == null) return false; if (that instanceof ThriftOperationsServer) return this.equals((ThriftOperationsServer)that); return false; }
@Override public boolean equals(Object that) { if (that == null) return false; if (that instanceof onOperationsServerListUpdate_args) return this.equals((onOperationsServerListUpdate_args)that); return false; }
@Override public boolean equals(Object that) { if (that == null) return false; if (that instanceof onOperationsServerListUpdate_result) return this.equals((onOperationsServerListUpdate_result)that); return false; }
/** * Performs a deep copy on <i>other</i>. */ public ThriftOperationsServer(ThriftOperationsServer other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetId()) { this.id = other.id; } this.priority = other.priority; }
public void start(I iface, onOperationsServerListUpdate_args args, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws TException { iface.onOperationsServerListUpdate(args.operationsServersList,resultHandler); } }
public onOperationsServerListUpdate_argsStandardScheme getScheme() { return new onOperationsServerListUpdate_argsStandardScheme(); } }
public onOperationsServerListUpdate_resultTupleScheme getScheme() { return new onOperationsServerListUpdate_resultTupleScheme(); } }
public ThriftOperationsServerStandardScheme getScheme() { return new ThriftOperationsServerStandardScheme(); } }
@Override public void clear() { this.id = null; setPriorityIsSet(false); this.priority = 0; }
public Client getClient(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TProtocol oprot) { return new Client(iprot, oprot); } }
public ThriftOperationsServer setPriority(int priority) { this.priority = priority; setPriorityIsSet(true); return this; }