public void mkdirs_Process(int seqid, TProtocol iprot, TProtocol oprot) { mkdirs_args args = new mkdirs_args(); args.Read(iprot); iprot.ReadMessageEnd(); mkdirs_result result = new mkdirs_result(); try { result.Success = iface_.mkdirs(args.Path); } catch (ThriftIOException ouch) { result.Ouch = ouch; } oprot.WriteMessageBegin(new TMessage("mkdirs", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }
public void send_mkdirs(Pathname path) { oprot_.WriteMessageBegin(new TMessage("mkdirs", TMessageType.Call, seqid_)); mkdirs_args args = new mkdirs_args(); args.Path = path; args.Write(oprot_); oprot_.WriteMessageEnd(); oprot_.Transport.Flush(); }