public void xdrDecode(XdrDecodingStream xdr) throws OncRpcException, IOException { oldname = new component4(xdr); newname = new component4(xdr); }
public void xdrDecode(XdrDecodingStream xdr) throws OncRpcException, IOException { newname = new component4(xdr); }
public void xdrDecode(XdrDecodingStream xdr) throws OncRpcException, IOException { name = new component4(xdr); }
public void xdrDecode(XdrDecodingStream xdr) throws OncRpcException, IOException { objname = new component4(xdr); }
public void xdrDecode(XdrDecodingStream xdr) throws OncRpcException, IOException { target = new component4(xdr); }
public void xdrDecode(XdrDecodingStream xdr) throws OncRpcException, IOException { ne_file = new component4(xdr); ne_attrs = new fattr4(xdr); }
public void xdrDecode(XdrDecodingStream xdr) throws OncRpcException, IOException { delegate_stateid = new stateid4(xdr); file = new component4(xdr); }
public void xdrDecode(XdrDecodingStream xdr) throws OncRpcException, IOException { { int $size = xdr.xdrDecodeInt(); value = new component4[$size]; for ( int $idx = 0; $idx < $size; ++$idx ) { value[$idx] = new component4(xdr); } } }
public CompoundBuilder withRemove(String path) { REMOVE4args args = new REMOVE4args(); args.target = new component4(path); nfs_argop4 op = new nfs_argop4(); op.argop = nfs_opnum4.OP_REMOVE; op.opremove = args; ops.add(op); return this; }
public CompoundBuilder withLookup(String path) { final Splitter splitter = Splitter.on('/').omitEmptyStrings(); for (String s : splitter.split(path)) { if( "..".equals(s)) { withLookupp(); continue; } nfs_argop4 op = new nfs_argop4(); op.argop = nfs_opnum4.OP_LOOKUP; op.oplookup = new LOOKUP4args(); op.oplookup.objname = new component4(s); ops.add(op); } return this; }
public void xdrDecode(XdrDecodingStream xdr) throws OncRpcException, IOException { objtype = new createtype4(xdr); objname = new component4(xdr); createattrs = new fattr4(xdr); }
public void xdrDecode(XdrDecodingStream xdr) throws OncRpcException, IOException { claim = xdr.xdrDecodeInt(); switch ( claim ) { case open_claim_type4.CLAIM_NULL: file = new component4(xdr); break; case open_claim_type4.CLAIM_PREVIOUS: delegate_type = xdr.xdrDecodeInt(); break; case open_claim_type4.CLAIM_DELEGATE_CUR: delegate_cur_info = new open_claim_delegate_cur4(xdr); break; case open_claim_type4.CLAIM_DELEGATE_PREV: file_delegate_prev = new component4(xdr); break; case open_claim_type4.CLAIM_FH: break; case open_claim_type4.CLAIM_DELEG_PREV_FH: break; case open_claim_type4.CLAIM_DELEG_CUR_FH: oc_delegate_stateid = new stateid4(xdr); break; } }
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 CompoundBuilder withMakedir(String path) { CREATE4args args = new CREATE4args(); args.objname = new component4(path); args.objtype = new createtype4(); args.objtype.type = nfs_ftype4.NF4DIR; args.createattrs = new fattr4(); args.createattrs.attr_vals = new attrlist4(); args.createattrs.attr_vals.value = openAttrs(); args.createattrs.attrmask = openFattrBitmap(); nfs_argop4 op = new nfs_argop4(); op.argop = nfs_opnum4.OP_CREATE; op.opcreate = args; ops.add(op); return this; }
claim.file = new component4(path); claim.delegate_type = nfs4_prot.OPEN4_SHARE_ACCESS_WANT_NO_DELEG; claim.file_delegate_prev = null;
claim.file = new component4(path); claim.delegate_type = nfs4_prot.OPEN4_SHARE_ACCESS_WANT_NO_DELEG; claim.file_delegate_prev = null;
currentEntry.name = new component4(name);