public void xdrDecode(XdrDecodingStream xdr) { status = xdr.xdrDecodeInt(); switch ( status ) { case nfsstat4.NFS4_OK: resok4 = new LOCK4resok(xdr); break; case nfsstat4.NFS4ERR_DENIED: denied = new LOCK4denied(xdr); break; default: break; } }