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)); }
public WccData(WccAttr preOpAttr, Nfs3FileAttributes postOpAttr) { this.preOpAttr = (preOpAttr == null) ? new WccAttr() : preOpAttr; this.postOpAttr = (postOpAttr == null) ? new Nfs3FileAttributes() : postOpAttr; }
public virtual void SetPreOpAttr(WccAttr preOpAttr) { this.preOpAttr = preOpAttr; }