Exemplo n.º 1
0
 public void recv_cancelGroupInvitation()
 {
   TMessage msg = iprot_.ReadMessageBegin();
   if (msg.Type == TMessageType.Exception) {
     TApplicationException x = TApplicationException.Read(iprot_);
     iprot_.ReadMessageEnd();
     throw x;
   }
   cancelGroupInvitation_result result = new cancelGroupInvitation_result();
   result.Read(iprot_);
   iprot_.ReadMessageEnd();
   if (result.__isset.e) {
     throw result.E;
   }
   return;
 }
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();
 }