本文整理汇总了C#中org.acplt.oncrpc.XdrEncodingStream.xdrEncodeBoolean方法的典型用法代码示例。如果您正苦于以下问题:C# XdrEncodingStream.xdrEncodeBoolean方法的具体用法?C# XdrEncodingStream.xdrEncodeBoolean怎么用?C# XdrEncodingStream.xdrEncodeBoolean使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类org.acplt.oncrpc.XdrEncodingStream
的用法示例。
在下文中一共展示了XdrEncodingStream.xdrEncodeBoolean方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: xdrEncode
public void xdrEncode(XdrEncodingStream xdr)
{
if (this._value != null)
{
xdr.xdrEncodeBoolean(true);
this._value.xdrEncode(xdr);
}
else { xdr.xdrEncodeBoolean(false); };
}
示例2: 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);
}
示例3: xdrEncode
public void xdrEncode(XdrEncodingStream xdr)
{
if (this._entries != null)
{
xdr.xdrEncodeBoolean(true);
this._entries.xdrEncode(xdr);
}
else { xdr.xdrEncodeBoolean(false); };
xdr.xdrEncodeBoolean(this._eof);
}
示例4: xdrEncode
public void xdrEncode(XdrEncodingStream xdr) {
xdr.xdrEncodeInt(ond_why);
switch ( ond_why ) {
case why_no_delegation4.WND4_CONTENTION:
xdr.xdrEncodeBoolean(ond_server_will_push_deleg);
break;
case why_no_delegation4.WND4_RESOURCE:
xdr.xdrEncodeBoolean(ond_server_will_signal_avail);
break;
default:
break;
}
}
示例5: xdrEncode
public void xdrEncode(XdrEncodingStream xdr)
{
this._attributes.xdrEncode(xdr);
xdr.xdrEncodeInt(this._count);
xdr.xdrEncodeBoolean(this._eof);
xdr.xdrEncodeDynamicOpaque(this._data);
}
示例6: xdrEncode
public void xdrEncode(XdrEncodingStream xdr)
{
xdr.xdrEncodeBoolean(this._attributes_follow);
if (this._attributes_follow)
{ this._attributes.xdrEncode(xdr); }
}
示例7: xdrEncode
public void xdrEncode(XdrEncodingStream xdr) {
csa_sequenceid.xdrEncode(xdr);
csa_slotid.xdrEncode(xdr);
csa_highest_slotid.xdrEncode(xdr);
xdr.xdrEncodeBoolean(csa_cachethis);
{ int _size = csa_referring_call_lists.Length; xdr.xdrEncodeInt(_size); for ( int _idx = 0; _idx < _size; ++_idx ) { csa_referring_call_lists[_idx].xdrEncode(xdr); } }
}
示例8: xdrEncode
public void xdrEncode(XdrEncodingStream xdr) {
loca_length.xdrEncode(xdr);
xdr.xdrEncodeBoolean(loca_reclaim);
loca_stateid.xdrEncode(xdr);
loca_last_write_offset.xdrEncode(xdr);
loca_time_modify.xdrEncode(xdr);
loca_layoutupdate.xdrEncode(xdr);
}
示例9: xdrEncode
public void xdrEncode(XdrEncodingStream xdr)
{
this._obj.xdrEncode(xdr);
this._new_attributes.xdrEncode(xdr);
xdr.xdrEncodeBoolean(this._guardcheck);
if (this._guardcheck)
{ this._guardctime.xdrEncode(xdr); }
}
示例10: xdrEncode
public void xdrEncode(XdrEncodingStream xdr)
{
sa_sessionid.xdrEncode(xdr);
sa_sequenceid.xdrEncode(xdr);
sa_slotid.xdrEncode(xdr);
sa_highest_slotid.xdrEncode(xdr);
xdr.xdrEncodeBoolean(sa_cachethis);
}
示例11: xdrEncode
public void xdrEncode(XdrEncodingStream xdr) {
xdr.xdrEncodeBoolean(new_lock_owner);
if ( new_lock_owner == true ) {
open_owner.xdrEncode(xdr);
}
else if ( new_lock_owner == false ) {
lock_owner.xdrEncode(xdr);
}
}
示例12: xdrEncode
public void xdrEncode(XdrEncodingStream xdr)
{
xdr.xdrEncodeBoolean(this._handleexists);
if (this._handleexists)
{ this._handle.xdrEncode(xdr); }
this._attributes.xdrEncode(xdr);
this._dir_wcc.xdrEncode(xdr);
}
示例13: xdrEncode
public void xdrEncode(XdrEncodingStream xdr) {
entry4 _this = this;
do {
_this.cookie.xdrEncode(xdr);
_this.name.xdrEncode(xdr);
_this.attrs.xdrEncode(xdr);
_this = _this.nextentry;
xdr.xdrEncodeBoolean(_this != null);
} while ( _this != null );
}
示例14: xdrEncode
public void xdrEncode(XdrEncodingStream xdr) {
xdr.xdrEncodeInt(gddrnf_status);
switch ( gddrnf_status ) {
case gddrnf4_status.GDD4_OK:
gddrnf_resok4.xdrEncode(xdr);
break;
case gddrnf4_status.GDD4_UNAVAIL:
xdr.xdrEncodeBoolean(gddrnf_will_signal_deleg_avail);
break;
}
}
示例15: 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); }
}