Ejemplo n.º 1
0
 void copyTo(NfsClientV3 copy) {
   copy._null = this._null;
   copy.getattr = this.getattr;
   copy.setattr = this.setattr;
   copy.lookup = this.lookup;
   copy.access = this.access;
   copy.readlink = this.readlink;
   copy.read = this.read;
   copy.write = this.write;
   copy.create = this.create;
   copy.mkdir = this.mkdir;
   copy.symlink = this.symlink;
   copy.mknod = this.mknod;
   copy.remove = this.remove;
   copy.rmdir = this.rmdir;
   copy.rename = this.rename;
   copy.link = this.link;
   copy.readdir = this.readdir;
   copy.readdirplus = this.readdirplus;
   copy.fsstat = this.fsstat;
   copy.fsinfo = this.fsinfo;
   copy.pathconf = this.pathconf;
   copy.commit = this.commit;
 }
Ejemplo n.º 2
0
 /**
  * This method is not intended to be called directly. use Sigar.getNfsClientV3() instead.
  *
  * @exception SigarException on failure.
  * @see org.hyperic.sigar.Sigar#getNfsClientV3
  */
 static NfsClientV3 fetch(Sigar sigar) throws SigarException {
   NfsClientV3 nfsClientV3 = new NfsClientV3();
   nfsClientV3.gather(sigar);
   return nfsClientV3;
 }