public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; onServerProfileUpdate_result result = new onServerProfileUpdate_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) { onServerProfileUpdate_result result = new onServerProfileUpdate_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 onServerProfileUpdate_result deepCopy() { return new onServerProfileUpdate_result(this); }
public void recv_onServerProfileUpdate() throws org.apache.thrift.TException { onServerProfileUpdate_result result = new onServerProfileUpdate_result(); receiveBase(result, "onServerProfileUpdate"); return; }
public onServerProfileUpdate_result getResult(I iface, onServerProfileUpdate_args args) throws org.apache.thrift.TException { onServerProfileUpdate_result result = new onServerProfileUpdate_result(); iface.onServerProfileUpdate(args.message); return result; } }