Beispiel #1
0
        public void xdrEncode(XdrEncodingStream xdr)
        {
            xdr.xdrEncodeInt(type);
            switch (type)
            {
            case nfs_ftype4.NF4LNK:
                linkdata.xdrEncode(xdr);
                break;

            case nfs_ftype4.NF4BLK:
            case nfs_ftype4.NF4CHR:
                devdata.xdrEncode(xdr);
                break;

            case nfs_ftype4.NF4SOCK:
            case nfs_ftype4.NF4FIFO:
            case nfs_ftype4.NF4DIR:
                break;

            default:
                break;
            }
        }