Пример #1
0
 public void getBannedPlayers_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   getBannedPlayers_args args = new getBannedPlayers_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   getBannedPlayers_result result = new getBannedPlayers_result();
   try {
     result.Success = iface_.getBannedPlayers(args.AuthString);
   } catch (org.phybros.thrift.EAuthException aex) {
     result.Aex = aex;
   }
   oprot.WriteMessageBegin(new TMessage("getBannedPlayers", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }
Пример #2
0
 public void send_getBannedPlayers(string authString)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("getBannedPlayers", TMessageType.Call, seqid_));
   getBannedPlayers_args args = new getBannedPlayers_args();
   args.AuthString = authString;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }