Ejemplo n.º 1
0
 public void recv_SoftReset()
 {
   TMessage msg = iprot_.ReadMessageBegin();
   if (msg.Type == TMessageType.Exception) {
     TApplicationException x = TApplicationException.Read(iprot_);
     iprot_.ReadMessageEnd();
     throw x;
   }
   SoftReset_result result = new SoftReset_result();
   result.Read(iprot_);
   iprot_.ReadMessageEnd();
   return;
 }
Ejemplo n.º 2
0
 public void SoftReset_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   SoftReset_args args = new SoftReset_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   SoftReset_result result = new SoftReset_result();
   iface_.SoftReset(args._homeId);
   oprot.WriteMessageBegin(new TMessage("SoftReset", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }