public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; waitForBalance_result result = new waitForBalance_result(); { msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); return; } catch (Exception ex) { LOGGER.error("Exception writing to internal frame buffer", ex); } fb.close(); } };
public void onComplete(Void o) { waitForBalance_result result = new waitForBalance_result(); try { fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); return; } catch (Exception e) { LOGGER.error("Exception writing to internal frame buffer", e); } fb.close(); } public void onError(Exception e) {
public waitForBalance_result deepCopy() { return new waitForBalance_result(this); }
public void recv_waitForBalance() throws org.apache.thrift.TException { waitForBalance_result result = new waitForBalance_result(); receiveBase(result, "waitForBalance"); return; }
public waitForBalance_result getResult(I iface, waitForBalance_args args) throws org.apache.thrift.TException { waitForBalance_result result = new waitForBalance_result(); iface.waitForBalance(args.tinfo); return result; } }
public waitForBalance_result deepCopy() { return new waitForBalance_result(this); }
public void recv_waitForBalance() throws org.apache.accumulo.core.clientImpl.thrift.ThriftNotActiveServiceException, org.apache.thrift.TException { waitForBalance_result result = new waitForBalance_result(); receiveBase(result, "waitForBalance"); if (result.tnase != null) { throw result.tnase; } return; }
public waitForBalance_result getResult(I iface, waitForBalance_args args) throws org.apache.thrift.TException { waitForBalance_result result = new waitForBalance_result(); try { iface.waitForBalance(args.tinfo); } catch (org.apache.accumulo.core.clientImpl.thrift.ThriftNotActiveServiceException tnase) { result.tnase = tnase; } return result; } }