Пример #1
0
 public void send_xrefsFrom(int address, IdaRefType refType)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("xrefsFrom", TMessageType.Call, seqid_));
   xrefsFrom_args args = new xrefsFrom_args();
   args.Address = address;
   args.RefType = refType;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }
Пример #2
0
 public void xrefsFrom_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   xrefsFrom_args args = new xrefsFrom_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   xrefsFrom_result result = new xrefsFrom_result();
   result.Success = iface_.xrefsFrom(args.Address, args.RefType);
   oprot.WriteMessageBegin(new TMessage("xrefsFrom", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }