public void sendContentReceipt_Process(int seqid, TProtocol iprot, TProtocol oprot) { sendContentReceipt_args args = new sendContentReceipt_args(); args.Read(iprot); iprot.ReadMessageEnd(); sendContentReceipt_result result = new sendContentReceipt_result(); try { iface_.sendContentReceipt(args.Seq, args.Consumer, args.MessageId); } catch (TalkException e) { result.E = e; } oprot.WriteMessageBegin(new TMessage("sendContentReceipt", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }
public void send_sendContentReceipt(int seq, string consumer, string messageId) #endif { oprot_.WriteMessageBegin(new TMessage("sendContentReceipt", TMessageType.Call, seqid_)); sendContentReceipt_args args = new sendContentReceipt_args(); args.Seq = seq; args.Consumer = consumer; args.MessageId = messageId; args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT return oprot_.Transport.BeginFlush(callback, state); #else oprot_.Transport.Flush(); #endif }