Exemplo n.º 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();
 }
Exemplo n.º 2
0
 public void send_acceptProximityMatches(string sessionId, THashSet<string> ids)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("acceptProximityMatches", TMessageType.Call, seqid_));
   acceptProximityMatches_args args = new acceptProximityMatches_args();
   args.SessionId = sessionId;
   args.Ids = ids;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }