public void testStarted_Process(int seqid, TProtocol iprot, TProtocol oprot) { testStarted_args args = new testStarted_args(); args.Read(iprot); iprot.ReadMessageEnd(); testStarted_result result = new testStarted_result(); iface_.testStarted(args.Name, args.Location); oprot.WriteMessageBegin(new TMessage("testStarted", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }
public void send_testStarted(string name, string location) #endif { oprot_.WriteMessageBegin(new TMessage("testStarted", TMessageType.Call, seqid_)); testStarted_args args = new testStarted_args(); args.Name = name; args.Location = location; args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT return oprot_.Transport.BeginFlush(callback, state); #else oprot_.Transport.Flush(); #endif }