private List <com.vip.isv.delivery.ReceiptInfo> recv_getList() { getList_result result = new getList_result(); ReceiveBase(result, getList_resultHelper.getInstance()); return(result.GetSuccess()); }
public void getList_Process(int seqid, TProtocol iprot, TProtocol oprot) { getList_args args = new getList_args(); args.Read(iprot); iprot.ReadMessageEnd(); getList_result result = new getList_result(); try { result.Success = iface_.getList(args.Ids); } catch (com.imd.common.thrift.ThriftException e) { result.E = e; } oprot.WriteMessageBegin(new TMessage("getList", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }
public List <Info> recv_getList() { TMessage msg = iprot_.ReadMessageBegin(); if (msg.Type == TMessageType.Exception) { TApplicationException x = TApplicationException.Read(iprot_); iprot_.ReadMessageEnd(); throw x; } getList_result result = new getList_result(); result.Read(iprot_); iprot_.ReadMessageEnd(); if (result.__isset.success) { return(result.Success); } if (result.__isset.e) { throw result.E; } throw new TApplicationException(TApplicationException.ExceptionType.MissingResult, "getList failed: unknown result"); }