public void xdrDecode(XdrDecodingStream xdr) { type = xdr.xdrDecodeInt(); switch ( type ) { case nfs_ftype4.NF4LNK: linkdata = new linktext4(xdr); break; case nfs_ftype4.NF4BLK: case nfs_ftype4.NF4CHR: devdata = new specdata4(xdr); break; case nfs_ftype4.NF4SOCK: case nfs_ftype4.NF4FIFO: case nfs_ftype4.NF4DIR: break; default: break; } }
public void xdrDecode(XdrDecodingStream xdr) { type = xdr.xdrDecodeInt(); switch (type) { case nfs_ftype4.NF4LNK: linkdata = new linktext4(xdr); break; case nfs_ftype4.NF4BLK: case nfs_ftype4.NF4CHR: devdata = new specdata4(xdr); break; case nfs_ftype4.NF4SOCK: case nfs_ftype4.NF4FIFO: case nfs_ftype4.NF4DIR: break; default: break; } }