Exemplo n.º 1
0
 public void recv_ClearSwitchPoints()
 {
   TMessage msg = iprot_.ReadMessageBegin();
   if (msg.Type == TMessageType.Exception) {
     TApplicationException x = TApplicationException.Read(iprot_);
     iprot_.ReadMessageEnd();
     throw x;
   }
   ClearSwitchPoints_result result = new ClearSwitchPoints_result();
   result.Read(iprot_);
   iprot_.ReadMessageEnd();
   return;
 }
Exemplo n.º 2
0
 public void ClearSwitchPoints_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   ClearSwitchPoints_args args = new ClearSwitchPoints_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   ClearSwitchPoints_result result = new ClearSwitchPoints_result();
   iface_.ClearSwitchPoints(args._id);
   oprot.WriteMessageBegin(new TMessage("ClearSwitchPoints", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }