コード例 #1
0
 public void testIgnored_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   testIgnored_args args = new testIgnored_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   testIgnored_result result = new testIgnored_result();
   iface_.testIgnored(args.Name, args.Comment, args.Trace);
   oprot.WriteMessageBegin(new TMessage("testIgnored", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }
コード例 #2
0
 public void recv_testIgnored()
 {
   TMessage msg = iprot_.ReadMessageBegin();
   if (msg.Type == TMessageType.Exception) {
     TApplicationException x = TApplicationException.Read(iprot_);
     iprot_.ReadMessageEnd();
     throw x;
   }
   testIgnored_result result = new testIgnored_result();
   result.Read(iprot_);
   iprot_.ReadMessageEnd();
   return;
 }