Example #1
0
 public void initiateModel_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   initiateModel_args args = new initiateModel_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   initiateModel_result result = new initiateModel_result();
   iface_.initiateModel(args.Key, args.Table, args.Username, args.Database);
   oprot.WriteMessageBegin(new TMessage("initiateModel", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }
Example #2
0
 public void recv_initiateModel()
 {
   TMessage msg = iprot_.ReadMessageBegin();
   if (msg.Type == TMessageType.Exception) {
     TApplicationException x = TApplicationException.Read(iprot_);
     iprot_.ReadMessageEnd();
     throw x;
   }
   initiateModel_result result = new initiateModel_result();
   result.Read(iprot_);
   iprot_.ReadMessageEnd();
   return;
 }