public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; list_sentry_privileges_by_authorizable_result result = new list_sentry_privileges_by_authorizable_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(TListSentryPrivilegesByAuthResponse o) { list_sentry_privileges_by_authorizable_result result = new list_sentry_privileges_by_authorizable_result(); result.success = o; 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 list_sentry_privileges_by_authorizable_result deepCopy() { return new list_sentry_privileges_by_authorizable_result(this); }
public TListSentryPrivilegesByAuthResponse recv_list_sentry_privileges_by_authorizable() throws org.apache.thrift.TException { list_sentry_privileges_by_authorizable_result result = new list_sentry_privileges_by_authorizable_result(); receiveBase(result, "list_sentry_privileges_by_authorizable"); if (result.isSetSuccess()) { return result.success; } throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "list_sentry_privileges_by_authorizable failed: unknown result"); }
public list_sentry_privileges_by_authorizable_result getResult(I iface, list_sentry_privileges_by_authorizable_args args) throws org.apache.thrift.TException { list_sentry_privileges_by_authorizable_result result = new list_sentry_privileges_by_authorizable_result(); result.success = iface.list_sentry_privileges_by_authorizable(args.request); return result; } }