public List<IdaRef> recv_xrefsTo() { TMessage msg = iprot_.ReadMessageBegin(); if (msg.Type == TMessageType.Exception) { TApplicationException x = TApplicationException.Read(iprot_); iprot_.ReadMessageEnd(); throw x; } xrefsTo_result result = new xrefsTo_result(); result.Read(iprot_); iprot_.ReadMessageEnd(); if (result.__isset.success) { return result.Success; } throw new TApplicationException(TApplicationException.ExceptionType.MissingResult, "xrefsTo failed: unknown result"); }
public void xrefsTo_Process(int seqid, TProtocol iprot, TProtocol oprot) { xrefsTo_args args = new xrefsTo_args(); args.Read(iprot); iprot.ReadMessageEnd(); xrefsTo_result result = new xrefsTo_result(); result.Success = iface_.xrefsTo(args.Address, args.RefType); oprot.WriteMessageBegin(new TMessage("xrefsTo", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }