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