public void suiteStarted_Process(int seqid, TProtocol iprot, TProtocol oprot) { suiteStarted_args args = new suiteStarted_args(); args.Read(iprot); iprot.ReadMessageEnd(); suiteStarted_result result = new suiteStarted_result(); iface_.suiteStarted(args.Name, args.Location); oprot.WriteMessageBegin(new TMessage("suiteStarted", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }
public void send_suiteStarted(string name, string location) #endif { oprot_.WriteMessageBegin(new TMessage("suiteStarted", TMessageType.Call, seqid_)); suiteStarted_args args = new suiteStarted_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 }