public static Org.Apache.Hadoop.Nfs.Nfs3.Response.SETATTR3Response Deserialize(XDR xdr) { int status = xdr.ReadInt(); WccData wccData = WccData.Deserialize(xdr); return(new Org.Apache.Hadoop.Nfs.Nfs3.Response.SETATTR3Response(status, wccData)); }
public static Org.Apache.Hadoop.Nfs.Nfs3.Response.REMOVE3Response Deserialize(XDR xdr) { int status = xdr.ReadInt(); WccData dirWcc = WccData.Deserialize(xdr); return(new Org.Apache.Hadoop.Nfs.Nfs3.Response.REMOVE3Response(status, dirWcc)); }
public static Org.Apache.Hadoop.Nfs.Nfs3.Response.LINK3Response Deserialize(XDR xdr ) { int status = xdr.ReadInt(); WccData fromDirWcc = WccData.Deserialize(xdr); WccData linkDirWcc = WccData.Deserialize(xdr); return(new Org.Apache.Hadoop.Nfs.Nfs3.Response.LINK3Response(status, fromDirWcc, linkDirWcc)); }
public static Org.Apache.Hadoop.Nfs.Nfs3.Response.COMMIT3Response Deserialize(XDR xdr) { int status = xdr.ReadInt(); long verf = 0; WccData fileWcc = WccData.Deserialize(xdr); if (status == Nfs3Status.Nfs3Ok) { verf = xdr.ReadHyper(); } return(new Org.Apache.Hadoop.Nfs.Nfs3.Response.COMMIT3Response(status, fileWcc, verf )); }
public static Org.Apache.Hadoop.Nfs.Nfs3.Response.MKDIR3Response Deserialize(XDR xdr) { int status = xdr.ReadInt(); FileHandle objFileHandle = new FileHandle(); Nfs3FileAttributes objAttr = null; WccData dirWcc; if (status == Nfs3Status.Nfs3Ok) { xdr.ReadBoolean(); objFileHandle.Deserialize(xdr); xdr.ReadBoolean(); objAttr = Nfs3FileAttributes.Deserialize(xdr); } dirWcc = WccData.Deserialize(xdr); return(new Org.Apache.Hadoop.Nfs.Nfs3.Response.MKDIR3Response(status, objFileHandle , objAttr, dirWcc)); }
public static Org.Apache.Hadoop.Nfs.Nfs3.Response.WRITE3Response Deserialize(XDR xdr) { int status = xdr.ReadInt(); WccData fileWcc = WccData.Deserialize(xdr); int count = 0; Nfs3Constant.WriteStableHow stableHow = null; long verifier = 0; if (status == Nfs3Status.Nfs3Ok) { count = xdr.ReadInt(); int how = xdr.ReadInt(); stableHow = Nfs3Constant.WriteStableHow.Values()[how]; verifier = xdr.ReadHyper(); } return(new Org.Apache.Hadoop.Nfs.Nfs3.Response.WRITE3Response(status, fileWcc, count , stableHow, verifier)); }