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