public void createTask_Process(int seqid, TProtocol iprot, TProtocol oprot) { createTask_args args = new createTask_args(); args.Read(iprot); iprot.ReadMessageEnd(); createTask_result result = new createTask_result(); iface_.createTask(args.Task); oprot.WriteMessageBegin(new TMessage("createTask", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }
public void send_createTask(CTask task) #endif { oprot_.WriteMessageBegin(new TMessage("createTask", TMessageType.Call, seqid_)); createTask_args args = new createTask_args(); args.Task = task; args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT return(oprot_.Transport.BeginFlush(callback, state)); #else oprot_.Transport.Flush(); #endif }
public void send_createTask(CTask task) #endif { oprot_.WriteMessageBegin(new TMessage("createTask", TMessageType.Call, seqid_)); createTask_args args = new createTask_args(); args.Task = task; args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT return oprot_.Transport.BeginFlush(callback, state); #else oprot_.Transport.Flush(); #endif }
public void createTask_Process(int seqid, TProtocol iprot, TProtocol oprot) { createTask_args args = new createTask_args(); args.Read(iprot); iprot.ReadMessageEnd(); createTask_result result = new createTask_result(); iface_.createTask(args.Task); oprot.WriteMessageBegin(new TMessage("createTask", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }