Пример #1
0
 public void getMyProfile_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   getMyProfile_args args = new getMyProfile_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   getMyProfile_result result = new getMyProfile_result();
   try {
     result.Success = iface_.getMyProfile(args.Username);
   } catch (UserException ex) {
     result.Ex = ex;
   }
   oprot.WriteMessageBegin(new TMessage("getMyProfile", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }