Exemplo n.º 1
0
 public void send_inviteIntoGroup(int reqSeq, string groupId, List<string> contactIds)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("inviteIntoGroup", TMessageType.Call, seqid_));
   inviteIntoGroup_args args = new inviteIntoGroup_args();
   args.ReqSeq = reqSeq;
   args.GroupId = groupId;
   args.ContactIds = contactIds;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }
Exemplo n.º 2
0
 public void inviteIntoGroup_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   inviteIntoGroup_args args = new inviteIntoGroup_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   inviteIntoGroup_result result = new inviteIntoGroup_result();
   try {
     iface_.inviteIntoGroup(args.ReqSeq, args.GroupId, args.ContactIds);
   } catch (TalkException e) {
     result.E = e;
   }
   oprot.WriteMessageBegin(new TMessage("inviteIntoGroup", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }