Exemple #1
0
 public void send_killTopology(string name)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("killTopology", TMessageType.Call, seqid_));
   killTopology_args args = new killTopology_args();
   args.Name = name;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }
Exemple #2
0
 public void killTopology_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   killTopology_args args = new killTopology_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   killTopology_result result = new killTopology_result();
   try {
     iface_.killTopology(args.Name);
   } catch (NotAliveException e) {
     result.E = e;
   } catch (AuthorizationException aze) {
     result.Aze = aze;
   }
   oprot.WriteMessageBegin(new TMessage("killTopology", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }