本文整理汇总了C#中org.acplt.oncrpc.XdrEncodingStream.xdrEncodeInt方法的典型用法代码示例。如果您正苦于以下问题:C# XdrEncodingStream.xdrEncodeInt方法的具体用法?C# XdrEncodingStream.xdrEncodeInt怎么用?C# XdrEncodingStream.xdrEncodeInt使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类org.acplt.oncrpc.XdrEncodingStream
的用法示例。
在下文中一共展示了XdrEncodingStream.xdrEncodeInt方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: xdrEncode
public void xdrEncode(XdrEncodingStream xdr)
{
xdr.xdrEncodeBoolean(this._setmode);
if (this._setmode)
{ xdr.xdrEncodeInt(this._mode.Mode); }
xdr.xdrEncodeBoolean(this._setuid);
if (this._setuid)
{ xdr.xdrEncodeInt(this._uid); }
xdr.xdrEncodeBoolean(this._setgid);
if (this._setgid)
{ xdr.xdrEncodeInt(this._gid); }
xdr.xdrEncodeBoolean(this._setsize);
if (this._setsize)
{ xdr.xdrEncodeLong(this._size); }
xdr.xdrEncodeBoolean(this._setatime != TimeHow.DONT_CHANGE);
if (this._setatime != TimeHow.DONT_CHANGE)
{ this._atime.xdrEncode(xdr); }
xdr.xdrEncodeBoolean(this._setmtime != TimeHow.DONT_CHANGE);
if (this._setmtime != TimeHow.DONT_CHANGE)
{ this._mtime.xdrEncode(xdr); }
}
示例2: xdrEncode
public void xdrEncode(XdrEncodingStream xdr) {
xdr.xdrEncodeInt(fss_type);
fss_source.xdrEncode(xdr);
fss_current.xdrEncode(xdr);
xdr.xdrEncodeInt(fss_age);
fss_version.xdrEncode(xdr);
}
示例3: xdrEncode
public void xdrEncode(XdrEncodingStream xdr)
{
{ int _size = ssp_hash_algs.Length; xdr.xdrEncodeInt(_size); for ( int _idx = 0; _idx < _size; ++_idx ) { ssp_hash_algs[_idx].xdrEncode(xdr); } }
{ int _size = ssp_encr_algs.Length; xdr.xdrEncodeInt(_size); for ( int _idx = 0; _idx < _size; ++_idx ) { ssp_encr_algs[_idx].xdrEncode(xdr); } }
xdr.xdrEncodeInt(ssp_window);
xdr.xdrEncodeInt(ssp_num_gss_handles);
}
示例4: xdrEncode
public void xdrEncode(XdrEncodingStream xdr)
{
this._file_wcc.xdrEncode(xdr);
xdr.xdrEncodeInt(this._count);
xdr.xdrEncodeInt((int)this._committed);
xdr.xdrEncodeOpaque(this._verf, NFSv3Protocol.NFS3_WRITEVERFSIZE);
}
示例5: xdrEncode
public void xdrEncode(XdrEncodingStream xdr)
{
xdr.xdrEncodeInt(claim);
switch ( claim ) {
case open_claim_type4.CLAIM_NULL:
file.xdrEncode(xdr);
break;
case open_claim_type4.CLAIM_PREVIOUS:
xdr.xdrEncodeInt(delegate_type);
break;
case open_claim_type4.CLAIM_DELEGATE_CUR:
delegate_cur_info.xdrEncode(xdr);
break;
case open_claim_type4.CLAIM_DELEGATE_PREV:
file_delegate_prev.xdrEncode(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.xdrEncode(xdr);
break;
}
}
示例6: xdrEncode
public void xdrEncode(XdrEncodingStream xdr)
{
this._file.xdrEncode(xdr);
xdr.xdrEncodeInt(this._offset);
xdr.xdrEncodeInt(this._count);
xdr.xdrEncodeInt(this._totalcount);
}
示例7: xdrEncode
public void xdrEncode(XdrEncodingStream xdr)
{
this._file.xdrEncode(xdr);
xdr.xdrEncodeLong(this._offset);
xdr.xdrEncodeInt(this._count);
xdr.xdrEncodeInt((int)this._stable);
xdr.xdrEncodeDynamicOpaque(this._data);
}
示例8: xdrEncode
public void xdrEncode(XdrEncodingStream xdr)
{
xdr.xdrEncodeInt(stamp);
xdr.xdrEncodeString(machinename);
xdr.xdrEncodeInt(uid);
xdr.xdrEncodeInt(gid);
xdr.xdrEncodeIntVector(gids);
}
示例9: xdrEncode
public void xdrEncode(XdrEncodingStream xdr)
{
xdr.xdrEncodeInt(spi_hash_alg);
xdr.xdrEncodeInt(spi_encr_alg);
xdr.xdrEncodeInt(spi_ssv_len);
xdr.xdrEncodeInt(spi_window);
{ int _size = spi_handles.Length; xdr.xdrEncodeInt(_size); for ( int _idx = 0; _idx < _size; ++_idx ) { spi_handles[_idx].xdrEncode(xdr); } }
}
示例10: xdrEncode
public void xdrEncode(XdrEncodingStream xdr)
{
this._dir.xdrEncode(xdr);
this._cookie.xdrEncode(xdr);
xdr.xdrEncodeOpaque(this._cookieverf, NFSv3Protocol.NFS3_COOKIEVERFSIZE);
xdr.xdrEncodeInt(this._dircount);
xdr.xdrEncodeInt(this._maxcount);
}
示例11: xdrEncode
public void xdrEncode(XdrEncodingStream xdr)
{
xdr.xdrEncodeInt(this._tsize);
xdr.xdrEncodeInt(this._bsize);
xdr.xdrEncodeInt(this._blocks);
xdr.xdrEncodeInt(this._bfree);
xdr.xdrEncodeInt(this._bavail);
}
示例12: xdrEncode
public void xdrEncode(XdrEncodingStream xdr)
{
this._file.xdrEncode(xdr);
xdr.xdrEncodeInt(this._beginoffset);
xdr.xdrEncodeInt(this._offset);
xdr.xdrEncodeInt(this._totalcount);
xdr.xdrEncodeDynamicOpaque(this._data);
}
示例13: xdrEncode
public void xdrEncode(XdrEncodingStream xdr)
{
xdr.xdrEncodeInt(this._mode.Mode);
xdr.xdrEncodeInt(this._uid);
xdr.xdrEncodeInt(this._gid);
xdr.xdrEncodeInt(this._size);
this._atime.xdrEncode(xdr);
this._mtime.xdrEncode(xdr);
}
示例14: xdrEncode
public void xdrEncode(XdrEncodingStream xdr) {
xdr.xdrEncodeInt(loga_layout_type);
xdr.xdrEncodeInt(loga_iomode);
loga_offset.xdrEncode(xdr);
loga_length.xdrEncode(xdr);
loga_minlength.xdrEncode(xdr);
loga_stateid.xdrEncode(xdr);
loga_maxcount.xdrEncode(xdr);
}
示例15: xdrEncode
public void xdrEncode(XdrEncodingStream xdr)
{
this._obj_attributes.xdrEncode(xdr);
xdr.xdrEncodeInt(this._linkmax);
xdr.xdrEncodeInt(this._name_max);
xdr.xdrEncodeBoolean(this._no_trunc);
xdr.xdrEncodeBoolean(this._chown_restricted);
xdr.xdrEncodeBoolean(this._case_insensitive);
xdr.xdrEncodeBoolean(this._case_preserving);
}