Ejemplo n.º 1
0
 public void RegisterBusinessUser_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   RegisterBusinessUser_args args = new RegisterBusinessUser_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   RegisterBusinessUser_result result = new RegisterBusinessUser_result();
   try {
     result.Success = iface_.RegisterBusinessUser(args.User);
   } catch (UserException ex) {
     result.Ex = ex;
   }
   oprot.WriteMessageBegin(new TMessage("RegisterBusinessUser", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }