Esempio n. 1
0
 public void send_findAndAddContactsByEmail(int reqSeq, THashSet<string> emails)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("findAndAddContactsByEmail", TMessageType.Call, seqid_));
   findAndAddContactsByEmail_args args = new findAndAddContactsByEmail_args();
   args.ReqSeq = reqSeq;
   args.Emails = emails;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }
Esempio n. 2
0
 public void findAndAddContactsByEmail_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   findAndAddContactsByEmail_args args = new findAndAddContactsByEmail_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   findAndAddContactsByEmail_result result = new findAndAddContactsByEmail_result();
   try {
     result.Success = iface_.findAndAddContactsByEmail(args.ReqSeq, args.Emails);
   } catch (TalkException e) {
     result.E = e;
   }
   oprot.WriteMessageBegin(new TMessage("findAndAddContactsByEmail", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }