Exemple #1
0
 public void getProfile_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   getProfile_args args = new getProfile_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   getProfile_result result = new getProfile_result();
   try {
     result.Success = iface_.getProfile();
   } catch (TalkException e) {
     result.E = e;
   }
   oprot.WriteMessageBegin(new TMessage("getProfile", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }
 public void getProfile_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   getProfile_args args = new getProfile_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   getProfile_result result = new getProfile_result();
   try {
     result.Success = iface_.getProfile(args.UserId, args.TargetId, args.Username, args.Session);
   } catch (UserException ex) {
     result.Ex = ex;
   } catch (SessionException se) {
     result.Se = se;
   }
   oprot.WriteMessageBegin(new TMessage("getProfile", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }