Beispiel #1
0
 public void PauseModel_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
     PauseModel_args args = new PauseModel_args();
     args.Read(iprot);
     iprot.ReadMessageEnd();
     PauseModel_result result = new PauseModel_result();
     try {
         iface_.PauseModel();
     } catch (AsapiException asapiEx) {
         result.AsapiEx = asapiEx;
     }
     oprot.WriteMessageBegin(new TMessage("PauseModel", TMessageType.Reply, seqid));
     result.Write(oprot);
     oprot.WriteMessageEnd();
     oprot.Transport.Flush();
 }
Beispiel #2
0
 public void send_PauseModel()
 {
     oprot_.WriteMessageBegin(new TMessage("PauseModel", TMessageType.Call, seqid_));
     PauseModel_args args = new PauseModel_args();
     args.Write(oprot_);
     oprot_.WriteMessageEnd();
     oprot_.Transport.Flush();
 }