public void updateFeature_Process(int seqid, TProtocol iprot, TProtocol oprot) { updateFeature_args args = new updateFeature_args(); args.Read(iprot); iprot.ReadMessageEnd(); updateFeature_result result = new updateFeature_result(); result.Success = iface_.updateFeature(args.Feature); oprot.WriteMessageBegin(new TMessage("updateFeature", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }
public void send_updateFeature(Feature feature) #endif { oprot_.WriteMessageBegin(new TMessage("updateFeature", TMessageType.Call, seqid_)); updateFeature_args args = new updateFeature_args(); args.Feature = feature; args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT return(oprot_.Transport.BeginFlush(callback, state)); #else oprot_.Transport.Flush(); #endif }