Exemplo n.º 1
0
 public void send_cancelGroupInvitation(int reqSeq, string groupId, List<string> contactIds)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("cancelGroupInvitation", TMessageType.Call, seqid_));
   cancelGroupInvitation_args args = new cancelGroupInvitation_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 cancelGroupInvitation_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   cancelGroupInvitation_args args = new cancelGroupInvitation_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   cancelGroupInvitation_result result = new cancelGroupInvitation_result();
   try {
     iface_.cancelGroupInvitation(args.ReqSeq, args.GroupId, args.ContactIds);
   } catch (TalkException e) {
     result.E = e;
   }
   oprot.WriteMessageBegin(new TMessage("cancelGroupInvitation", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }