public void submitTopology_Process(int seqid, TProtocol iprot, TProtocol oprot) { submitTopology_args args = new submitTopology_args(); args.Read(iprot); iprot.ReadMessageEnd(); submitTopology_result result = new submitTopology_result(); try { iface_.submitTopology(args.Name, args.UploadedJarLocation, args.JsonConf, args.Topology); } catch (AlreadyAliveException e) { result.E = e; } catch (InvalidTopologyException ite) { result.Ite = ite; } catch (AuthorizationException aze) { result.Aze = aze; } oprot.WriteMessageBegin(new TMessage("submitTopology", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }