Beispiel #1
0
 public void acceptProximityMatches_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   acceptProximityMatches_args args = new acceptProximityMatches_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   acceptProximityMatches_result result = new acceptProximityMatches_result();
   try {
     iface_.acceptProximityMatches(args.SessionId, args.Ids);
   } catch (TalkException e) {
     result.E = e;
   }
   oprot.WriteMessageBegin(new TMessage("acceptProximityMatches", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }
Beispiel #2
0
 public void recv_acceptProximityMatches()
 {
   TMessage msg = iprot_.ReadMessageBegin();
   if (msg.Type == TMessageType.Exception) {
     TApplicationException x = TApplicationException.Read(iprot_);
     iprot_.ReadMessageEnd();
     throw x;
   }
   acceptProximityMatches_result result = new acceptProximityMatches_result();
   result.Read(iprot_);
   iprot_.ReadMessageEnd();
   if (result.__isset.e) {
     throw result.E;
   }
   return;
 }