public void onComplete(Void o) { result_result result = new result_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 void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; result_result result = new result_result(); if (e instanceof AuthorizationException) { result.aze = (AuthorizationException) e; result.set_aze_isSet(true); msg = result; } else { 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) { result_result result = new result_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 void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; result_result result = new result_result(); if (e instanceof AuthorizationException) { result.aze = (AuthorizationException) e; result.set_aze_isSet(true); msg = result; } else { 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 result_result deepCopy() { return new result_result(this); }
public void recv_result() throws AuthorizationException, org.apache.thrift.TException { result_result result = new result_result(); receiveBase(result, "result"); if (result.aze != null) { throw result.aze; } return; }
public void recv_result() throws org.apache.thrift.TException { result_result result = new result_result(); receiveBase(result, "result"); return; }
protected result_result getResult(I iface, result_args args) throws org.apache.thrift.TException { result_result result = new result_result(); iface.result(args.id, args.result); return result; } }
public result_result deepCopy() { return new result_result(this); }
public result_result getResult(I iface, result_args args) throws org.apache.thrift.TException { result_result result = new result_result(); try { iface.result(args.id, args.result); } catch (AuthorizationException aze) { result.aze = aze; } return result; } }
public result_result deepCopy() { return new result_result(this); }
public void recv_result() throws org.apache.thrift7.TException { result_result result = new result_result(); receiveBase(result, "result"); return; }
protected result_result getResult(I iface, result_args args) throws org.apache.thrift7.TException { result_result result = new result_result(); iface.result(args.id, args.result); return result; } }
public result_result deepCopy() { return new result_result(this); }
public result_result getResult(I iface, result_args args) throws org.apache.thrift.TException { result_result result = new result_result(); try { iface.result(args.id, args.result); } catch (AuthorizationException aze) { result.aze = aze; } return result; } }
public void recv_result() throws AuthorizationException, org.apache.thrift.TException { result_result result = new result_result(); receiveBase(result, "result"); if (result.aze != null) { throw result.aze; } return; }