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