public void xdrDecode(XdrDecodingStream xdr) throws OncRpcException, IOException { nrm_old_entry = new notify_entry4(xdr); nrm_old_entry_cookie = new nfs_cookie4(xdr); }
public void xdrDecode(XdrDecodingStream xdr) throws OncRpcException, IOException { pe_prev_entry = new notify_entry4(xdr); pe_prev_entry_cookie = new nfs_cookie4(xdr); }
public void xdrDecode(XdrDecodingStream xdr) throws OncRpcException, IOException { gdla_layout_type = xdr.xdrDecodeInt(); gdla_maxdevices = new count4(xdr); gdla_cookie = new nfs_cookie4(xdr); gdla_cookieverf = new verifier4(xdr); }
public CompoundBuilder withGetdevicelist() { nfs_argop4 op = new nfs_argop4(); op.argop = nfs_opnum4.OP_GETDEVICELIST; op.opgetdevicelist = new GETDEVICELIST4args(); op.opgetdevicelist.gdla_cookie = new nfs_cookie4(0); op.opgetdevicelist.gdla_cookieverf = new verifier4(); op.opgetdevicelist.gdla_cookieverf.value = new byte[nfs4_prot.NFS4_VERIFIER_SIZE]; op.opgetdevicelist.gdla_layout_type = layouttype4.LAYOUT4_NFSV4_1_FILES.getValue(); op.opgetdevicelist.gdla_maxdevices = new count4(256); ops.add(op); return this; }
public void xdrDecode(XdrDecodingStream xdr) throws OncRpcException, IOException { cookie = new nfs_cookie4(xdr); cookieverf = new verifier4(xdr); dircount = new count4(xdr); maxcount = new count4(xdr); attr_request = new bitmap4(xdr); }
public void xdrDecode(XdrDecodingStream xdr) throws OncRpcException, IOException { entry4 $this = this; entry4 $next; do { $this.cookie = new nfs_cookie4(xdr); $this.name = new component4(xdr); $this.attrs = new fattr4(xdr); $next = xdr.xdrDecodeBoolean() ? new entry4() : null; $this.nextentry = $next; $this = $next; } while ( $this != null ); }
public void xdrDecode(XdrDecodingStream xdr) throws OncRpcException, IOException { gdlr_cookie = new nfs_cookie4(xdr); gdlr_cookieverf = new verifier4(xdr); { int $size = xdr.xdrDecodeInt(); gdlr_deviceid_list = new deviceid4[$size]; for ( int $idx = 0; $idx < $size; ++$idx ) { gdlr_deviceid_list[$idx] = new deviceid4(xdr); } } gdlr_eof = xdr.xdrDecodeBoolean(); }
public CompoundBuilder withReaddir(long cookie, verifier4 verifier, int dirCount, int maxcount, int... attrs) { nfs_argop4 op = new nfs_argop4(); op.opreaddir = new READDIR4args(); op.opreaddir.cookie = new nfs_cookie4(cookie); op.opreaddir.dircount = new count4(dirCount); op.opreaddir.maxcount = new count4(maxcount); op.opreaddir.attr_request = attrs.length == 0 ? new bitmap4() : bitmap4.of(attrs); op.opreaddir.cookieverf = verifier; op.argop = nfs_opnum4.OP_READDIR; ops.add(op); return this; }
res.gdlr_resok4.gdlr_cookie = new nfs_cookie4(1); res.gdlr_resok4.gdlr_cookieverf = new verifier4(); res.gdlr_resok4.gdlr_cookieverf.value = new byte[nfs4_prot.NFS4_VERIFIER_SIZE];
public static nfs_argop4 normal() { nfs_argop4 op = new nfs_argop4(); op.argop = nfs_opnum4.OP_GETDEVICELIST; op.opgetdevicelist = new GETDEVICELIST4args(); op.opgetdevicelist.gdla_cookie = new nfs_cookie4(0); op.opgetdevicelist.gdla_cookieverf = new verifier4(); op.opgetdevicelist.gdla_cookieverf.value = new byte[nfs4_prot.NFS4_VERIFIER_SIZE]; op.opgetdevicelist.gdla_layout_type = layouttype4.LAYOUT4_NFSV4_1_FILES.getValue(); op.opgetdevicelist.gdla_maxdevices = new count4(256); return op; }
public void xdrDecode(XdrDecodingStream xdr) throws OncRpcException, IOException { { int $size = xdr.xdrDecodeInt(); nad_old_entry = new notify_remove4[$size]; for ( int $idx = 0; $idx < $size; ++$idx ) { nad_old_entry[$idx] = new notify_remove4(xdr); } } nad_new_entry = new notify_entry4(xdr); { int $size = xdr.xdrDecodeInt(); nad_new_entry_cookie = new nfs_cookie4[$size]; for ( int $idx = 0; $idx < $size; ++$idx ) { nad_new_entry_cookie[$idx] = new nfs_cookie4(xdr); } } { int $size = xdr.xdrDecodeInt(); nad_prev_entry = new prev_entry4[$size]; for ( int $idx = 0; $idx < $size; ++$idx ) { nad_prev_entry[$idx] = new prev_entry4(xdr); } } nad_last_entry = xdr.xdrDecodeBoolean(); }
currentEntry.name = new component4(name); currentEntry.cookie = new nfs_cookie4(le.getCookie() + COOKIE_OFFSET);