Ejemplo n.º 1
0
 public void send_inviteViaEmail(int reqSeq, string email, string name)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("inviteViaEmail", TMessageType.Call, seqid_));
   inviteViaEmail_args args = new inviteViaEmail_args();
   args.ReqSeq = reqSeq;
   args.Email = email;
   args.Name = name;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }
Ejemplo n.º 2
0
 public void inviteViaEmail_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   inviteViaEmail_args args = new inviteViaEmail_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   inviteViaEmail_result result = new inviteViaEmail_result();
   try {
     iface_.inviteViaEmail(args.ReqSeq, args.Email, args.Name);
   } catch (TalkException e) {
     result.E = e;
   }
   oprot.WriteMessageBegin(new TMessage("inviteViaEmail", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }