public void bar_Process(int seqid, TProtocol iprot, TProtocol oprot) { bar_args args = new bar_args(); args.Read(iprot); iprot.ReadMessageEnd(); bar_result result = new bar_result(); iface_.bar(); oprot.WriteMessageBegin(new TMessage("bar", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }
public void send_bar() { oprot_.WriteMessageBegin(new TMessage("bar", TMessageType.Call, seqid_)); bar_args args = new bar_args(); args.Write(oprot_); oprot_.WriteMessageEnd(); oprot_.Transport.Flush(); }