Esempio n. 1
0
 public void xdrDecode(XdrDecodingStream xdr) {
     resop = xdr.xdrDecodeInt();
     switch ( resop ) {
     case nfs_opnum4.OP_ACCESS:
         opaccess = new ACCESS4res(xdr);
         break;
     case nfs_opnum4.OP_CLOSE:
         opclose = new CLOSE4res(xdr);
         break;
     case nfs_opnum4.OP_COMMIT:
         opcommit = new COMMIT4res(xdr);
         break;
     case nfs_opnum4.OP_CREATE:
         opcreate = new CREATE4res(xdr);
         break;
     case nfs_opnum4.OP_DELEGPURGE:
         opdelegpurge = new DELEGPURGE4res(xdr);
         break;
     case nfs_opnum4.OP_DELEGRETURN:
         opdelegreturn = new DELEGRETURN4res(xdr);
         break;
     case nfs_opnum4.OP_GETATTR:
         opgetattr = new GETATTR4res(xdr);
         break;
     case nfs_opnum4.OP_GETFH:
         opgetfh = new GETFH4res(xdr);
         break;
     case nfs_opnum4.OP_LINK:
         oplink = new LINK4res(xdr);
         break;
     case nfs_opnum4.OP_LOCK:
         oplock = new LOCK4res(xdr);
         break;
     case nfs_opnum4.OP_LOCKT:
         oplockt = new LOCKT4res(xdr);
         break;
     case nfs_opnum4.OP_LOCKU:
         oplocku = new LOCKU4res(xdr);
         break;
     case nfs_opnum4.OP_LOOKUP:
         oplookup = new LOOKUP4res(xdr);
         break;
     case nfs_opnum4.OP_LOOKUPP:
         oplookupp = new LOOKUPP4res(xdr);
         break;
     case nfs_opnum4.OP_NVERIFY:
         opnverify = new NVERIFY4res(xdr);
         break;
     case nfs_opnum4.OP_OPEN:
         opopen = new OPEN4res(xdr);
         break;
     case nfs_opnum4.OP_OPENATTR:
         opopenattr = new OPENATTR4res(xdr);
         break;
     case nfs_opnum4.OP_OPEN_CONFIRM:
         opopen_confirm = new OPEN_CONFIRM4res(xdr);
         break;
     case nfs_opnum4.OP_OPEN_DOWNGRADE:
         opopen_downgrade = new OPEN_DOWNGRADE4res(xdr);
         break;
     case nfs_opnum4.OP_PUTFH:
         opputfh = new PUTFH4res(xdr);
         break;
     case nfs_opnum4.OP_PUTPUBFH:
         opputpubfh = new PUTPUBFH4res(xdr);
         break;
     case nfs_opnum4.OP_PUTROOTFH:
         opputrootfh = new PUTROOTFH4res(xdr);
         break;
     case nfs_opnum4.OP_READ:
         opread = new READ4res(xdr);
         break;
     case nfs_opnum4.OP_READDIR:
         opreaddir = new READDIR4res(xdr);
         break;
     case nfs_opnum4.OP_READLINK:
         opreadlink = new READLINK4res(xdr);
         break;
     case nfs_opnum4.OP_REMOVE:
         opremove = new REMOVE4res(xdr);
         break;
     case nfs_opnum4.OP_RENAME:
         oprename = new RENAME4res(xdr);
         break;
     case nfs_opnum4.OP_RENEW:
         oprenew = new RENEW4res(xdr);
         break;
     case nfs_opnum4.OP_RESTOREFH:
         oprestorefh = new RESTOREFH4res(xdr);
         break;
     case nfs_opnum4.OP_SAVEFH:
         opsavefh = new SAVEFH4res(xdr);
         break;
     case nfs_opnum4.OP_SECINFO:
         opsecinfo = new SECINFO4res(xdr);
         break;
     case nfs_opnum4.OP_SETATTR:
         opsetattr = new SETATTR4res(xdr);
         break;
     case nfs_opnum4.OP_SETCLIENTID:
         opsetclientid = new SETCLIENTID4res(xdr);
         break;
     case nfs_opnum4.OP_SETCLIENTID_CONFIRM:
         opsetclientid_confirm = new SETCLIENTID_CONFIRM4res(xdr);
         break;
     case nfs_opnum4.OP_VERIFY:
         opverify = new VERIFY4res(xdr);
         break;
     case nfs_opnum4.OP_WRITE:
         opwrite = new WRITE4res(xdr);
         break;
     case nfs_opnum4.OP_RELEASE_LOCKOWNER:
         oprelease_lockowner = new RELEASE_LOCKOWNER4res(xdr);
         break;
     case nfs_opnum4.OP_BACKCHANNEL_CTL:
         opbackchannel_ctl = new BACKCHANNEL_CTL4res(xdr);
         break;
     case nfs_opnum4.OP_BIND_CONN_TO_SESSION:
         opbind_conn_to_session = new BIND_CONN_TO_SESSION4res(xdr);
         break;
     case nfs_opnum4.OP_EXCHANGE_ID:
         opexchange_id = new EXCHANGE_ID4res(xdr);
         break;
     case nfs_opnum4.OP_CREATE_SESSION:
         opcreate_session = new CREATE_SESSION4res(xdr);
         break;
     case nfs_opnum4.OP_DESTROY_SESSION:
         opdestroy_session = new DESTROY_SESSION4res(xdr);
         break;
     case nfs_opnum4.OP_FREE_STATEID:
         opfree_stateid = new FREE_STATEID4res(xdr);
         break;
     case nfs_opnum4.OP_GET_DIR_DELEGATION:
         opget_dir_delegation = new GET_DIR_DELEGATION4res(xdr);
         break;
     case nfs_opnum4.OP_GETDEVICEINFO:
         opgetdeviceinfo = new GETDEVICEINFO4res(xdr);
         break;
     case nfs_opnum4.OP_GETDEVICELIST:
         opgetdevicelist = new GETDEVICELIST4res(xdr);
         break;
     case nfs_opnum4.OP_LAYOUTCOMMIT:
         oplayoutcommit = new LAYOUTCOMMIT4res(xdr);
         break;
     case nfs_opnum4.OP_LAYOUTGET:
         oplayoutget = new LAYOUTGET4res(xdr);
         break;
     case nfs_opnum4.OP_LAYOUTRETURN:
         oplayoutreturn = new LAYOUTRETURN4res(xdr);
         break;
     case nfs_opnum4.OP_SECINFO_NO_NAME:
         opsecinfo_no_name = new SECINFO_NO_NAME4res(xdr);
         break;
     case nfs_opnum4.OP_SEQUENCE:
         opsequence = new SEQUENCE4res(xdr);
         break;
     case nfs_opnum4.OP_SET_SSV:
         opset_ssv = new SET_SSV4res(xdr);
         break;
     case nfs_opnum4.OP_TEST_STATEID:
         optest_stateid = new TEST_STATEID4res(xdr);
         break;
     case nfs_opnum4.OP_WANT_DELEGATION:
         opwant_delegation = new WANT_DELEGATION4res(xdr);
         break;
     case nfs_opnum4.OP_DESTROY_CLIENTID:
         opdestroy_clientid = new DESTROY_CLIENTID4res(xdr);
         break;
     case nfs_opnum4.OP_RECLAIM_COMPLETE:
         opreclaim_complete = new RECLAIM_COMPLETE4res(xdr);
         break;
     case nfs_opnum4.OP_ILLEGAL:
         opillegal = new ILLEGAL4res(xdr);
         break;
     }
 }
Esempio n. 2
0
        public void xdrDecode(XdrDecodingStream xdr)
        {
            resop = xdr.xdrDecodeInt();
            switch (resop)
            {
                case nfs_opnum4.OP_ACCESS:
                    opaccess = new ACCESS4res(xdr);
                    break;

                case nfs_opnum4.OP_CLOSE:
                    opclose = new CLOSE4res(xdr);
                    break;

                case nfs_opnum4.OP_COMMIT:
                    opcommit = new COMMIT4res(xdr);
                    break;

                case nfs_opnum4.OP_CREATE:
                    opcreate = new CREATE4res(xdr);
                    break;

                case nfs_opnum4.OP_DELEGPURGE:
                    opdelegpurge = new DELEGPURGE4res(xdr);
                    break;

                case nfs_opnum4.OP_DELEGRETURN:
                    opdelegreturn = new DELEGRETURN4res(xdr);
                    break;

                case nfs_opnum4.OP_GETATTR:
                    opgetattr = new GETATTR4res(xdr);
                    break;

                case nfs_opnum4.OP_GETFH:
                    opgetfh = new GETFH4res(xdr);
                    break;

                case nfs_opnum4.OP_LINK:
                    oplink = new LINK4res(xdr);
                    break;

                case nfs_opnum4.OP_LOCK:
                    oplock = new LOCK4res(xdr);
                    break;

                case nfs_opnum4.OP_LOCKT:
                    oplockt = new LOCKT4res(xdr);
                    break;

                case nfs_opnum4.OP_LOCKU:
                    oplocku = new LOCKU4res(xdr);
                    break;

                case nfs_opnum4.OP_LOOKUP:
                    oplookup = new LOOKUP4res(xdr);
                    break;

                case nfs_opnum4.OP_LOOKUPP:
                    oplookupp = new LOOKUPP4res(xdr);
                    break;

                case nfs_opnum4.OP_NVERIFY:
                    opnverify = new NVERIFY4res(xdr);
                    break;

                case nfs_opnum4.OP_OPEN:
                    opopen = new OPEN4res(xdr);
                    break;

                case nfs_opnum4.OP_OPENATTR:
                    opopenattr = new OPENATTR4res(xdr);
                    break;

                case nfs_opnum4.OP_OPEN_CONFIRM:
                    opopen_confirm = new OPEN_CONFIRM4res(xdr);
                    break;

                case nfs_opnum4.OP_OPEN_DOWNGRADE:
                    opopen_downgrade = new OPEN_DOWNGRADE4res(xdr);
                    break;

                case nfs_opnum4.OP_PUTFH:
                    opputfh = new PUTFH4res(xdr);
                    break;

                case nfs_opnum4.OP_PUTPUBFH:
                    opputpubfh = new PUTPUBFH4res(xdr);
                    break;

                case nfs_opnum4.OP_PUTROOTFH:
                    opputrootfh = new PUTROOTFH4res(xdr);
                    break;

                case nfs_opnum4.OP_READ:
                    opread = new READ4res(xdr);
                    break;

                case nfs_opnum4.OP_READDIR:
                    opreaddir = new READDIR4res(xdr);
                    break;

                case nfs_opnum4.OP_READLINK:
                    opreadlink = new READLINK4res(xdr);
                    break;

                case nfs_opnum4.OP_REMOVE:
                    opremove = new REMOVE4res(xdr);
                    break;

                case nfs_opnum4.OP_RENAME:
                    oprename = new RENAME4res(xdr);
                    break;

                case nfs_opnum4.OP_RENEW:
                    oprenew = new RENEW4res(xdr);
                    break;

                case nfs_opnum4.OP_RESTOREFH:
                    oprestorefh = new RESTOREFH4res(xdr);
                    break;

                case nfs_opnum4.OP_SAVEFH:
                    opsavefh = new SAVEFH4res(xdr);
                    break;

                case nfs_opnum4.OP_SECINFO:
                    opsecinfo = new SECINFO4res(xdr);
                    break;

                case nfs_opnum4.OP_SETATTR:
                    opsetattr = new SETATTR4res(xdr);
                    break;

                case nfs_opnum4.OP_SETCLIENTID:
                    opsetclientid = new SETCLIENTID4res(xdr);
                    break;

                case nfs_opnum4.OP_SETCLIENTID_CONFIRM:
                    opsetclientid_confirm = new SETCLIENTID_CONFIRM4res(xdr);
                    break;

                case nfs_opnum4.OP_VERIFY:
                    opverify = new VERIFY4res(xdr);
                    break;

                case nfs_opnum4.OP_WRITE:
                    opwrite = new WRITE4res(xdr);
                    break;

                case nfs_opnum4.OP_RELEASE_LOCKOWNER:
                    oprelease_lockowner = new RELEASE_LOCKOWNER4res(xdr);
                    break;

                case nfs_opnum4.OP_BACKCHANNEL_CTL:
                    opbackchannel_ctl = new BACKCHANNEL_CTL4res(xdr);
                    break;

                case nfs_opnum4.OP_BIND_CONN_TO_SESSION:
                    opbind_conn_to_session = new BIND_CONN_TO_SESSION4res(xdr);
                    break;

                case nfs_opnum4.OP_EXCHANGE_ID:
                    opexchange_id = new EXCHANGE_ID4res(xdr);
                    break;

                case nfs_opnum4.OP_CREATE_SESSION:
                    opcreate_session = new CREATE_SESSION4res(xdr);
                    break;

                case nfs_opnum4.OP_DESTROY_SESSION:
                    opdestroy_session = new DESTROY_SESSION4res(xdr);
                    break;

                case nfs_opnum4.OP_FREE_STATEID:
                    opfree_stateid = new FREE_STATEID4res(xdr);
                    break;

                case nfs_opnum4.OP_GET_DIR_DELEGATION:
                    opget_dir_delegation = new GET_DIR_DELEGATION4res(xdr);
                    break;

                case nfs_opnum4.OP_GETDEVICEINFO:
                    opgetdeviceinfo = new GETDEVICEINFO4res(xdr);
                    break;

                case nfs_opnum4.OP_GETDEVICELIST:
                    opgetdevicelist = new GETDEVICELIST4res(xdr);
                    break;

                case nfs_opnum4.OP_LAYOUTCOMMIT:
                    oplayoutcommit = new LAYOUTCOMMIT4res(xdr);
                    break;

                case nfs_opnum4.OP_LAYOUTGET:
                    oplayoutget = new LAYOUTGET4res(xdr);
                    break;

                case nfs_opnum4.OP_LAYOUTRETURN:
                    oplayoutreturn = new LAYOUTRETURN4res(xdr);
                    break;

                case nfs_opnum4.OP_SECINFO_NO_NAME:
                    opsecinfo_no_name = new SECINFO_NO_NAME4res(xdr);
                    break;

                case nfs_opnum4.OP_SEQUENCE:
                    opsequence = new SEQUENCE4res(xdr);
                    break;

                case nfs_opnum4.OP_SET_SSV:
                    opset_ssv = new SET_SSV4res(xdr);
                    break;

                case nfs_opnum4.OP_TEST_STATEID:
                    optest_stateid = new TEST_STATEID4res(xdr);
                    break;

                case nfs_opnum4.OP_WANT_DELEGATION:
                    opwant_delegation = new WANT_DELEGATION4res(xdr);
                    break;

                case nfs_opnum4.OP_DESTROY_CLIENTID:
                    opdestroy_clientid = new DESTROY_CLIENTID4res(xdr);
                    break;

                case nfs_opnum4.OP_RECLAIM_COMPLETE:
                    opreclaim_complete = new RECLAIM_COMPLETE4res(xdr);
                    break;

                case nfs_opnum4.OP_ILLEGAL:
                    opillegal = new ILLEGAL4res(xdr);
                    break;
            }
        }