public void xdrDecode(XdrDecodingStream xdr) { argop = xdr.xdrDecodeInt(); switch (argop) { case nfs_opnum4.OP_ACCESS: opaccess = new ACCESS4args(xdr); break; case nfs_opnum4.OP_CLOSE: opclose = new CLOSE4args(xdr); break; case nfs_opnum4.OP_COMMIT: opcommit = new COMMIT4args(xdr); break; case nfs_opnum4.OP_CREATE: opcreate = new CREATE4args(xdr); break; case nfs_opnum4.OP_DELEGPURGE: opdelegpurge = new DELEGPURGE4args(xdr); break; case nfs_opnum4.OP_DELEGRETURN: opdelegreturn = new DELEGRETURN4args(xdr); break; case nfs_opnum4.OP_GETATTR: opgetattr = new GETATTR4args(xdr); break; case nfs_opnum4.OP_GETFH: break; case nfs_opnum4.OP_LINK: oplink = new LINK4args(xdr); break; case nfs_opnum4.OP_LOCK: oplock = new LOCK4args(xdr); break; case nfs_opnum4.OP_LOCKT: oplockt = new LOCKT4args(xdr); break; case nfs_opnum4.OP_LOCKU: oplocku = new LOCKU4args(xdr); break; case nfs_opnum4.OP_LOOKUP: oplookup = new LOOKUP4args(xdr); break; case nfs_opnum4.OP_LOOKUPP: break; case nfs_opnum4.OP_NVERIFY: opnverify = new NVERIFY4args(xdr); break; case nfs_opnum4.OP_OPEN: opopen = new OPEN4args(xdr); break; case nfs_opnum4.OP_OPENATTR: opopenattr = new OPENATTR4args(xdr); break; case nfs_opnum4.OP_OPEN_CONFIRM: opopen_confirm = new OPEN_CONFIRM4args(xdr); break; case nfs_opnum4.OP_OPEN_DOWNGRADE: opopen_downgrade = new OPEN_DOWNGRADE4args(xdr); break; case nfs_opnum4.OP_PUTFH: opputfh = new PUTFH4args(xdr); break; case nfs_opnum4.OP_PUTPUBFH: break; case nfs_opnum4.OP_PUTROOTFH: break; case nfs_opnum4.OP_READ: opread = new READ4args(xdr); break; case nfs_opnum4.OP_READDIR: opreaddir = new READDIR4args(xdr); break; case nfs_opnum4.OP_READLINK: break; case nfs_opnum4.OP_REMOVE: opremove = new REMOVE4args(xdr); break; case nfs_opnum4.OP_RENAME: oprename = new RENAME4args(xdr); break; case nfs_opnum4.OP_RENEW: oprenew = new RENEW4args(xdr); break; case nfs_opnum4.OP_RESTOREFH: break; case nfs_opnum4.OP_SAVEFH: break; case nfs_opnum4.OP_SECINFO: opsecinfo = new SECINFO4args(xdr); break; case nfs_opnum4.OP_SETATTR: opsetattr = new SETATTR4args(xdr); break; case nfs_opnum4.OP_SETCLIENTID: opsetclientid = new SETCLIENTID4args(xdr); break; case nfs_opnum4.OP_SETCLIENTID_CONFIRM: opsetclientid_confirm = new SETCLIENTID_CONFIRM4args(xdr); break; case nfs_opnum4.OP_VERIFY: opverify = new VERIFY4args(xdr); break; case nfs_opnum4.OP_WRITE: opwrite = new WRITE4args(xdr); break; case nfs_opnum4.OP_RELEASE_LOCKOWNER: oprelease_lockowner = new RELEASE_LOCKOWNER4args(xdr); break; case nfs_opnum4.OP_BACKCHANNEL_CTL: opbackchannel_ctl = new BACKCHANNEL_CTL4args(xdr); break; case nfs_opnum4.OP_BIND_CONN_TO_SESSION: opbind_conn_to_session = new BIND_CONN_TO_SESSION4args(xdr); break; case nfs_opnum4.OP_EXCHANGE_ID: opexchange_id = new EXCHANGE_ID4args(xdr); break; case nfs_opnum4.OP_CREATE_SESSION: opcreate_session = new CREATE_SESSION4args(xdr); break; case nfs_opnum4.OP_DESTROY_SESSION: opdestroy_session = new DESTROY_SESSION4args(xdr); break; case nfs_opnum4.OP_FREE_STATEID: opfree_stateid = new FREE_STATEID4args(xdr); break; case nfs_opnum4.OP_GET_DIR_DELEGATION: opget_dir_delegation = new GET_DIR_DELEGATION4args(xdr); break; case nfs_opnum4.OP_GETDEVICEINFO: opgetdeviceinfo = new GETDEVICEINFO4args(xdr); break; case nfs_opnum4.OP_GETDEVICELIST: opgetdevicelist = new GETDEVICELIST4args(xdr); break; case nfs_opnum4.OP_LAYOUTCOMMIT: oplayoutcommit = new LAYOUTCOMMIT4args(xdr); break; case nfs_opnum4.OP_LAYOUTGET: oplayoutget = new LAYOUTGET4args(xdr); break; case nfs_opnum4.OP_LAYOUTRETURN: oplayoutreturn = new LAYOUTRETURN4args(xdr); break; case nfs_opnum4.OP_SECINFO_NO_NAME: opsecinfo_no_name = new SECINFO_NO_NAME4args(xdr); break; case nfs_opnum4.OP_SEQUENCE: opsequence = new SEQUENCE4args(xdr); break; case nfs_opnum4.OP_SET_SSV: opset_ssv = new SET_SSV4args(xdr); break; case nfs_opnum4.OP_TEST_STATEID: optest_stateid = new TEST_STATEID4args(xdr); break; case nfs_opnum4.OP_WANT_DELEGATION: opwant_delegation = new WANT_DELEGATION4args(xdr); break; case nfs_opnum4.OP_DESTROY_CLIENTID: opdestroy_clientid = new DESTROY_CLIENTID4args(xdr); break; case nfs_opnum4.OP_RECLAIM_COMPLETE: opreclaim_complete = new RECLAIM_COMPLETE4args(xdr); break; case nfs_opnum4.OP_ILLEGAL: break; } }
public void xdrDecode(XdrDecodingStream xdr) { argop = xdr.xdrDecodeInt(); switch ( argop ) { case nfs_opnum4.OP_ACCESS: opaccess = new ACCESS4args(xdr); break; case nfs_opnum4.OP_CLOSE: opclose = new CLOSE4args(xdr); break; case nfs_opnum4.OP_COMMIT: opcommit = new COMMIT4args(xdr); break; case nfs_opnum4.OP_CREATE: opcreate = new CREATE4args(xdr); break; case nfs_opnum4.OP_DELEGPURGE: opdelegpurge = new DELEGPURGE4args(xdr); break; case nfs_opnum4.OP_DELEGRETURN: opdelegreturn = new DELEGRETURN4args(xdr); break; case nfs_opnum4.OP_GETATTR: opgetattr = new GETATTR4args(xdr); break; case nfs_opnum4.OP_GETFH: break; case nfs_opnum4.OP_LINK: oplink = new LINK4args(xdr); break; case nfs_opnum4.OP_LOCK: oplock = new LOCK4args(xdr); break; case nfs_opnum4.OP_LOCKT: oplockt = new LOCKT4args(xdr); break; case nfs_opnum4.OP_LOCKU: oplocku = new LOCKU4args(xdr); break; case nfs_opnum4.OP_LOOKUP: oplookup = new LOOKUP4args(xdr); break; case nfs_opnum4.OP_LOOKUPP: break; case nfs_opnum4.OP_NVERIFY: opnverify = new NVERIFY4args(xdr); break; case nfs_opnum4.OP_OPEN: opopen = new OPEN4args(xdr); break; case nfs_opnum4.OP_OPENATTR: opopenattr = new OPENATTR4args(xdr); break; case nfs_opnum4.OP_OPEN_CONFIRM: opopen_confirm = new OPEN_CONFIRM4args(xdr); break; case nfs_opnum4.OP_OPEN_DOWNGRADE: opopen_downgrade = new OPEN_DOWNGRADE4args(xdr); break; case nfs_opnum4.OP_PUTFH: opputfh = new PUTFH4args(xdr); break; case nfs_opnum4.OP_PUTPUBFH: break; case nfs_opnum4.OP_PUTROOTFH: break; case nfs_opnum4.OP_READ: opread = new READ4args(xdr); break; case nfs_opnum4.OP_READDIR: opreaddir = new READDIR4args(xdr); break; case nfs_opnum4.OP_READLINK: break; case nfs_opnum4.OP_REMOVE: opremove = new REMOVE4args(xdr); break; case nfs_opnum4.OP_RENAME: oprename = new RENAME4args(xdr); break; case nfs_opnum4.OP_RENEW: oprenew = new RENEW4args(xdr); break; case nfs_opnum4.OP_RESTOREFH: break; case nfs_opnum4.OP_SAVEFH: break; case nfs_opnum4.OP_SECINFO: opsecinfo = new SECINFO4args(xdr); break; case nfs_opnum4.OP_SETATTR: opsetattr = new SETATTR4args(xdr); break; case nfs_opnum4.OP_SETCLIENTID: opsetclientid = new SETCLIENTID4args(xdr); break; case nfs_opnum4.OP_SETCLIENTID_CONFIRM: opsetclientid_confirm = new SETCLIENTID_CONFIRM4args(xdr); break; case nfs_opnum4.OP_VERIFY: opverify = new VERIFY4args(xdr); break; case nfs_opnum4.OP_WRITE: opwrite = new WRITE4args(xdr); break; case nfs_opnum4.OP_RELEASE_LOCKOWNER: oprelease_lockowner = new RELEASE_LOCKOWNER4args(xdr); break; case nfs_opnum4.OP_BACKCHANNEL_CTL: opbackchannel_ctl = new BACKCHANNEL_CTL4args(xdr); break; case nfs_opnum4.OP_BIND_CONN_TO_SESSION: opbind_conn_to_session = new BIND_CONN_TO_SESSION4args(xdr); break; case nfs_opnum4.OP_EXCHANGE_ID: opexchange_id = new EXCHANGE_ID4args(xdr); break; case nfs_opnum4.OP_CREATE_SESSION: opcreate_session = new CREATE_SESSION4args(xdr); break; case nfs_opnum4.OP_DESTROY_SESSION: opdestroy_session = new DESTROY_SESSION4args(xdr); break; case nfs_opnum4.OP_FREE_STATEID: opfree_stateid = new FREE_STATEID4args(xdr); break; case nfs_opnum4.OP_GET_DIR_DELEGATION: opget_dir_delegation = new GET_DIR_DELEGATION4args(xdr); break; case nfs_opnum4.OP_GETDEVICEINFO: opgetdeviceinfo = new GETDEVICEINFO4args(xdr); break; case nfs_opnum4.OP_GETDEVICELIST: opgetdevicelist = new GETDEVICELIST4args(xdr); break; case nfs_opnum4.OP_LAYOUTCOMMIT: oplayoutcommit = new LAYOUTCOMMIT4args(xdr); break; case nfs_opnum4.OP_LAYOUTGET: oplayoutget = new LAYOUTGET4args(xdr); break; case nfs_opnum4.OP_LAYOUTRETURN: oplayoutreturn = new LAYOUTRETURN4args(xdr); break; case nfs_opnum4.OP_SECINFO_NO_NAME: opsecinfo_no_name = new SECINFO_NO_NAME4args(xdr); break; case nfs_opnum4.OP_SEQUENCE: opsequence = new SEQUENCE4args(xdr); break; case nfs_opnum4.OP_SET_SSV: opset_ssv = new SET_SSV4args(xdr); break; case nfs_opnum4.OP_TEST_STATEID: optest_stateid = new TEST_STATEID4args(xdr); break; case nfs_opnum4.OP_WANT_DELEGATION: opwant_delegation = new WANT_DELEGATION4args(xdr); break; case nfs_opnum4.OP_DESTROY_CLIENTID: opdestroy_clientid = new DESTROY_CLIENTID4args(xdr); break; case nfs_opnum4.OP_RECLAIM_COMPLETE: opreclaim_complete = new RECLAIM_COMPLETE4args(xdr); break; case nfs_opnum4.OP_ILLEGAL: break; } }