public void GetById_Process(int seqid, TProtocol iprot, TProtocol oprot) { GetById_args args = new GetById_args(); args.Read(iprot); iprot.ReadMessageEnd(); GetById_result result = new GetById_result(); result.Success = iface_.GetById(args.DemoId); oprot.WriteMessageBegin(new TMessage("GetById", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }
public void send_GetById(int DemoId) #endif { oprot_.WriteMessageBegin(new TMessage("GetById", TMessageType.Call, seqid_)); GetById_args args = new GetById_args(); args.DemoId = DemoId; args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT return(oprot_.Transport.BeginFlush(callback, state)); #else oprot_.Transport.Flush(); #endif }