public void decode(NdrBuffer _src) throws NdrException { _src.align(4); count = (int) _src.dec_ndr_long(); int _arrayp = _src.dec_ndr_long(); if (_arrayp != 0) { _src = _src.deferred; int _arrays = _src.dec_ndr_long(); int _arrayi = _src.index; _src.advance(4 * _arrays); if (array == null) { if (_arrays < 0 || _arrays > 0xFFFF) throw new NdrException(NdrException.INVALID_CONFORMANCE); array = new ShareInfo0[_arrays]; } _src = _src.derive(_arrayi); for (int _i = 0; _i < _arrays; _i++) { if (array[_i] == null) { array[_i] = new ShareInfo0(); } array[_i].decode(_src); } } }
public void encode(NdrBuffer paramNdrBuffer) { paramNdrBuffer.align(4); paramNdrBuffer.enc_ndr_referent(dfs_name, 1); if (dfs_name != null) { deferred.enc_ndr_string(dfs_name); } }
public void decode(NdrBuffer _src) throws NdrException { _src.align(4); int _netnamep = _src.dec_ndr_long(); if (_netnamep != 0) { _src = _src.deferred; netname = _src.dec_ndr_string(); } }
public void encode(NdrBuffer _dst) throws NdrException { _dst.align(4); _dst.enc_ndr_referent(netname, 1); if (netname != null) { _dst = _dst.deferred; _dst.enc_ndr_string(netname); } }
public void decode(NdrBuffer _src) throws NdrException { _src.align(4); elapsedt = (int) _src.dec_ndr_long(); msecs = (int) _src.dec_ndr_long(); hours = (int) _src.dec_ndr_long(); mins = (int) _src.dec_ndr_long(); secs = (int) _src.dec_ndr_long(); hunds = (int) _src.dec_ndr_long(); timezone = (int) _src.dec_ndr_long(); tinterval = (int) _src.dec_ndr_long(); day = (int) _src.dec_ndr_long(); month = (int) _src.dec_ndr_long(); year = (int) _src.dec_ndr_long(); weekday = (int) _src.dec_ndr_long(); }
public void encode(NdrBuffer _dst) throws NdrException { _dst.align(4); _dst.enc_ndr_long(elapsedt); _dst.enc_ndr_long(msecs); _dst.enc_ndr_long(hours); _dst.enc_ndr_long(mins); _dst.enc_ndr_long(secs); _dst.enc_ndr_long(hunds); _dst.enc_ndr_long(timezone); _dst.enc_ndr_long(tinterval); _dst.enc_ndr_long(day); _dst.enc_ndr_long(month); _dst.enc_ndr_long(year); _dst.enc_ndr_long(weekday); }
public void decode(NdrBuffer _src) throws NdrException { _src.align(4); int _netnamep = _src.dec_ndr_long(); type = (int) _src.dec_ndr_long(); int _remarkp = _src.dec_ndr_long(); permissions = (int) _src.dec_ndr_long(); max_uses = (int) _src.dec_ndr_long(); current_uses = (int) _src.dec_ndr_long(); int _pathp = _src.dec_ndr_long(); int _passwordp = _src.dec_ndr_long(); sd_size = (int) _src.dec_ndr_long(); int _security_descriptorp = _src.dec_ndr_long(); if (_netnamep != 0) { _src = _src.deferred; netname = _src.dec_ndr_string(); } if (_remarkp != 0) { _src = _src.deferred; remark = _src.dec_ndr_string(); } if (_pathp != 0) { _src = _src.deferred; path = _src.dec_ndr_string(); } if (_passwordp != 0) { _src = _src.deferred; password = _src.dec_ndr_string(); } if (_security_descriptorp != 0) { _src = _src.deferred; int _security_descriptors = _src.dec_ndr_long(); int _security_descriptori = _src.index; _src.advance(1 * _security_descriptors); if (security_descriptor == null) { if (_security_descriptors < 0 || _security_descriptors > 0xFFFF) throw new NdrException(NdrException.INVALID_CONFORMANCE); security_descriptor = new byte[_security_descriptors]; } _src = _src.derive(_security_descriptori); for (int _i = 0; _i < _security_descriptors; _i++) { security_descriptor[_i] = (byte) _src.dec_ndr_small(); } } }
public void encode(NdrBuffer _dst) throws NdrException { _dst.align(4); _dst.enc_ndr_long(count); _dst.enc_ndr_referent(array, 1); if (array != null) { _dst = _dst.deferred; int _arrays = count; _dst.enc_ndr_long(_arrays); int _arrayi = _dst.index; _dst.advance(4 * _arrays); _dst = _dst.derive(_arrayi); for (int _i = 0; _i < _arrays; _i++) { array[_i].encode(_dst); } } }
public void encode(NdrBuffer _dst) throws NdrException { _dst.align(4); _dst.enc_ndr_referent(netname, 1); _dst.enc_ndr_long(type); _dst.enc_ndr_referent(remark, 1); _dst.enc_ndr_long(permissions); _dst.enc_ndr_long(max_uses); _dst.enc_ndr_long(current_uses); _dst.enc_ndr_referent(path, 1); _dst.enc_ndr_referent(password, 1); _dst.enc_ndr_long(sd_size); _dst.enc_ndr_referent(security_descriptor, 1); if (netname != null) { _dst = _dst.deferred; _dst.enc_ndr_string(netname); } if (remark != null) { _dst = _dst.deferred; _dst.enc_ndr_string(remark); } if (path != null) { _dst = _dst.deferred; _dst.enc_ndr_string(path); } if (password != null) { _dst = _dst.deferred; _dst.enc_ndr_string(password); } if (security_descriptor != null) { _dst = _dst.deferred; int _security_descriptors = sd_size; _dst.enc_ndr_long(_security_descriptors); int _security_descriptori = _dst.index; _dst.advance(1 * _security_descriptors); _dst = _dst.derive(_security_descriptori); for (int _i = 0; _i < _security_descriptors; _i++) { _dst.enc_ndr_small(security_descriptor[_i]); } } }
public void decode(NdrBuffer paramNdrBuffer) { paramNdrBuffer.align(4); if (paramNdrBuffer.dec_ndr_long() != 0) { dfs_name = deferred.dec_ndr_string(); } }