예제 #1
0
 public void gearUpVer2_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   gearUpVer2_args args = new gearUpVer2_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   gearUpVer2_result result = new gearUpVer2_result();
   try {
     result.Success = iface_.gearUpVer2(args.GearUp, args.Session);
   } catch (ChatException ex) {
     result.Ex = ex;
   } catch (SessionException se) {
     result.Se = se;
   }
   oprot.WriteMessageBegin(new TMessage("gearUpVer2", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }