public void chmod_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
     chmod_args args = new chmod_args();
     args.Read(iprot);
     iprot.ReadMessageEnd();
     chmod_result result = new chmod_result();
     try {
       iface_.chmod(args.Path, args.Mode);
     } catch (ThriftIOException ouch) {
       result.Ouch = ouch;
     }
     oprot.WriteMessageBegin(new TMessage("chmod", TMessageType.Reply, seqid));
     result.Write(oprot);
     oprot.WriteMessageEnd();
     oprot.Transport.Flush();
 }
 public void send_chmod(Pathname path, short mode)
 {
     oprot_.WriteMessageBegin(new TMessage("chmod", TMessageType.Call, seqid_));
     chmod_args args = new chmod_args();
     args.Path = path;
     args.Mode = mode;
     args.Write(oprot_);
     oprot_.WriteMessageEnd();
     oprot_.Transport.Flush();
 }