Esempio n. 1
0
 public void send_inviteFriendsBySms(List<string> phoneNumberList)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("inviteFriendsBySms", TMessageType.Call, seqid_));
   inviteFriendsBySms_args args = new inviteFriendsBySms_args();
   args.PhoneNumberList = phoneNumberList;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }
Esempio n. 2
0
 public void inviteFriendsBySms_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   inviteFriendsBySms_args args = new inviteFriendsBySms_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   inviteFriendsBySms_result result = new inviteFriendsBySms_result();
   try {
     iface_.inviteFriendsBySms(args.PhoneNumberList);
   } catch (TalkException e) {
     result.E = e;
   }
   oprot.WriteMessageBegin(new TMessage("inviteFriendsBySms", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }