コード例 #1
0
ファイル: Database.cs プロジェクト: nihilus/idaas
 public IdaFunctionFrame recv_getFunctionFrame()
 {
   TMessage msg = iprot_.ReadMessageBegin();
   if (msg.Type == TMessageType.Exception) {
     TApplicationException x = TApplicationException.Read(iprot_);
     iprot_.ReadMessageEnd();
     throw x;
   }
   getFunctionFrame_result result = new getFunctionFrame_result();
   result.Read(iprot_);
   iprot_.ReadMessageEnd();
   if (result.__isset.success) {
     return result.Success;
   }
   throw new TApplicationException(TApplicationException.ExceptionType.MissingResult, "getFunctionFrame failed: unknown result");
 }
コード例 #2
0
ファイル: Database.cs プロジェクト: nihilus/idaas
 public void getFunctionFrame_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   getFunctionFrame_args args = new getFunctionFrame_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   getFunctionFrame_result result = new getFunctionFrame_result();
   result.Success = iface_.getFunctionFrame(args.Address);
   oprot.WriteMessageBegin(new TMessage("getFunctionFrame", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }