Exemplo n.º 1
0
 public void removeFromWhitelist_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   removeFromWhitelist_args args = new removeFromWhitelist_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   removeFromWhitelist_result result = new removeFromWhitelist_result();
   try {
     result.Success = iface_.removeFromWhitelist(args.AuthString, args.Name);
   } catch (org.phybros.thrift.EAuthException aex) {
     result.Aex = aex;
   } catch (org.phybros.thrift.EDataException dex) {
     result.Dex = dex;
   }
   oprot.WriteMessageBegin(new TMessage("removeFromWhitelist", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }
Exemplo n.º 2
0
 public void send_removeFromWhitelist(string authString, string name)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("removeFromWhitelist", TMessageType.Call, seqid_));
   removeFromWhitelist_args args = new removeFromWhitelist_args();
   args.AuthString = authString;
   args.Name = name;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }