示例#1
0
 public void recv_rejectGroupInvitation()
 {
   TMessage msg = iprot_.ReadMessageBegin();
   if (msg.Type == TMessageType.Exception) {
     TApplicationException x = TApplicationException.Read(iprot_);
     iprot_.ReadMessageEnd();
     throw x;
   }
   rejectGroupInvitation_result result = new rejectGroupInvitation_result();
   result.Read(iprot_);
   iprot_.ReadMessageEnd();
   if (result.__isset.e) {
     throw result.E;
   }
   return;
 }
示例#2
0
 public void rejectGroupInvitation_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   rejectGroupInvitation_args args = new rejectGroupInvitation_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   rejectGroupInvitation_result result = new rejectGroupInvitation_result();
   try {
     iface_.rejectGroupInvitation(args.ReqSeq, args.GroupId);
   } catch (TalkException e) {
     result.E = e;
   }
   oprot.WriteMessageBegin(new TMessage("rejectGroupInvitation", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }