public void send_foo() { oprot_.WriteMessageBegin(new TMessage("foo", TMessageType.Call, seqid_)); foo_args args = new foo_args(); args.Write(oprot_); oprot_.WriteMessageEnd(); oprot_.Transport.Flush(); }
public void foo_Process(int seqid, TProtocol iprot, TProtocol oprot) { foo_args args = new foo_args(); args.Read(iprot); iprot.ReadMessageEnd(); foo_result result = new foo_result(); result.Success = iface_.foo(); oprot.WriteMessageBegin(new TMessage("foo", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }