示例#1
0
 public void SendAllValues_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   SendAllValues_args args = new SendAllValues_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   SendAllValues_result result = new SendAllValues_result();
   iface_.SendAllValues();
   oprot.WriteMessageBegin(new TMessage("SendAllValues", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }
示例#2
0
 public void recv_SendAllValues()
 {
   TMessage msg = iprot_.ReadMessageBegin();
   if (msg.Type == TMessageType.Exception) {
     TApplicationException x = TApplicationException.Read(iprot_);
     iprot_.ReadMessageEnd();
     throw x;
   }
   SendAllValues_result result = new SendAllValues_result();
   result.Read(iprot_);
   iprot_.ReadMessageEnd();
   return;
 }