Beispiel #1
0
        public static Org.Apache.Hadoop.Nfs.Nfs3.Response.WccData Deserialize(XDR xdr)
        {
            xdr.ReadBoolean();
            WccAttr preOpAttr = WccAttr.Deserialize(xdr);

            xdr.ReadBoolean();
            Nfs3FileAttributes postOpAttr = Nfs3FileAttributes.Deserialize(xdr);

            return(new Org.Apache.Hadoop.Nfs.Nfs3.Response.WccData(preOpAttr, postOpAttr));
        }
Beispiel #2
0
 public WccData(WccAttr preOpAttr, Nfs3FileAttributes postOpAttr)
 {
     this.preOpAttr  = (preOpAttr == null) ? new WccAttr() : preOpAttr;
     this.postOpAttr = (postOpAttr == null) ? new Nfs3FileAttributes() : postOpAttr;
 }
Beispiel #3
0
 public virtual void SetPreOpAttr(WccAttr preOpAttr)
 {
     this.preOpAttr = preOpAttr;
 }