示例#1
0
 public void send_openProximityMatch(Location location)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("openProximityMatch", TMessageType.Call, seqid_));
   openProximityMatch_args args = new openProximityMatch_args();
   args.Location = location;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }
示例#2
0
 public void openProximityMatch_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   openProximityMatch_args args = new openProximityMatch_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   openProximityMatch_result result = new openProximityMatch_result();
   try {
     result.Success = iface_.openProximityMatch(args.Location);
   } catch (TalkException e) {
     result.E = e;
   }
   oprot.WriteMessageBegin(new TMessage("openProximityMatch", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }