public void recv_killTopology() { TMessage msg = iprot_.ReadMessageBegin(); if (msg.Type == TMessageType.Exception) { TApplicationException x = TApplicationException.Read(iprot_); iprot_.ReadMessageEnd(); throw x; } killTopology_result result = new killTopology_result(); result.Read(iprot_); iprot_.ReadMessageEnd(); if (result.__isset.e) { throw result.E; } if (result.__isset.aze) { throw result.Aze; } return; }
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(); }