Esempio n. 1
0
        public void xdrEncode(XdrEncodingStream xdr)
        {
            FolderEntry _this = this;

            do
            {
                xdr.xdrEncodeLong(_this._fileid);
                _this._name.xdrEncode(xdr);
                _this._cookie.xdrEncode(xdr);
                _this._name_attributes.xdrEncode(xdr);
                _this._name_handle.xdrEncode(xdr);
                _this = _this._nextentry;
                xdr.xdrEncodeBoolean(_this != null);
            } while (_this != null);
        }
        public void xdrDecode(XdrDecodingStream xdr)
        {
            FolderEntry _this = this;
            FolderEntry _next;

            do
            {
                _this._fileid          = xdr.xdrDecodeLong();
                _this._name            = new Name(xdr);
                _this._cookie          = new NFSCookie(xdr);
                _this._name_attributes = new PostOperationAttributes(xdr);
                _this._name_handle     = (xdr.xdrDecodeBoolean() ? new NFSHandle(xdr, 3) : null);
                _next            = xdr.xdrDecodeBoolean() ? new FolderEntry() : null;
                _this._nextentry = _next;
                _this            = _next;
            } while (_this != null);
        }
 public void xdrDecode(XdrDecodingStream xdr)
 {
     this._entries = xdr.xdrDecodeBoolean() ? new FolderEntry(xdr) : null;
     this._eof = xdr.xdrDecodeBoolean();
 }
Esempio n. 4
0
 public void xdrDecode(XdrDecodingStream xdr)
 {
     this._entries = xdr.xdrDecodeBoolean() ? new FolderEntry(xdr) : null;
     this._eof     = xdr.xdrDecodeBoolean();
 }