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