public void send_appendLog(AppendLogRequest req) { oprot_.WriteMessageBegin(new TMessage("appendLog", TMessageType.Call, seqid_)); appendLog_args args = new appendLog_args(); args.Req = req; args.Write(oprot_); oprot_.WriteMessageEnd(); oprot_.Transport.Flush(); }
public void appendLog_Process(int seqid, TProtocol iprot, TProtocol oprot) { appendLog_args args = new appendLog_args(); args.Read(iprot); iprot.ReadMessageEnd(); appendLog_result result = new appendLog_result(); result.Success = iface_.appendLog(args.Req); oprot.WriteMessageBegin(new TMessage("appendLog", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }