public void getTopology_Process(int seqid, TProtocol iprot, TProtocol oprot) { getTopology_args args = new getTopology_args(); args.Read(iprot); iprot.ReadMessageEnd(); getTopology_result result = new getTopology_result(); try { result.Success = iface_.getTopology(args.Id); } catch (NotAliveException e) { result.E = e; } catch (AuthorizationException aze) { result.Aze = aze; } oprot.WriteMessageBegin(new TMessage("getTopology", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }
public void send_getTopology(string id) #endif { oprot_.WriteMessageBegin(new TMessage("getTopology", TMessageType.Call, seqid_)); getTopology_args args = new getTopology_args(); args.Id = id; args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT return oprot_.Transport.BeginFlush(callback, state); #else oprot_.Transport.Flush(); #endif }