public void xdrDecode(XdrDecodingStream xdr) throws OncRpcException, IOException { csr_sessionid = new sessionid4(xdr); csr_sequence = new sequenceid4(xdr); csr_flags = new uint32_t(xdr); csr_fore_chan_attrs = new channel_attrs4(xdr); csr_back_chan_attrs = new channel_attrs4(xdr); }
public void xdrDecode(XdrDecodingStream xdr) throws OncRpcException, IOException { csa_clientid = new clientid4(xdr); csa_sequence = new sequenceid4(xdr); csa_flags = new uint32_t(xdr); csa_fore_chan_attrs = new channel_attrs4(xdr); csa_back_chan_attrs = new channel_attrs4(xdr); csa_cb_program = new uint32_t(xdr); { int $size = xdr.xdrDecodeInt(); csa_sec_parms = new callback_sec_parms4[$size]; for ( int $idx = 0; $idx < $size; ++$idx ) { csa_sec_parms[$idx] = new callback_sec_parms4(xdr); } } }
public CompoundBuilder withCreatesession(clientid4 clientid, sequenceid4 sequenceid) { nfs_argop4 op = new nfs_argop4(); op.argop = nfs_opnum4.OP_CREATE_SESSION; op.opcreate_session = new CREATE_SESSION4args(); channel_attrs4 chan_attrs = new channel_attrs4(); chan_attrs.ca_headerpadsize = new count4(0); chan_attrs.ca_maxoperations = new count4(8192); chan_attrs.ca_maxrequests = new count4(8192); chan_attrs.ca_maxrequestsize = new count4(8192); chan_attrs.ca_maxresponsesize = new count4(8192); chan_attrs.ca_maxresponsesize_cached = new count4(8); chan_attrs.ca_rdma_ird = new uint32_t[0]; op.opcreate_session.csa_clientid = clientid; op.opcreate_session.csa_sequence = sequenceid; op.opcreate_session.csa_flags = new uint32_t(nfs4_prot.CREATE_SESSION4_FLAG_PERSIST); op.opcreate_session.csa_fore_chan_attrs = chan_attrs; op.opcreate_session.csa_back_chan_attrs = chan_attrs; op.opcreate_session.csa_cb_program = new uint32_t(123); op.opcreate_session.csa_sec_parms = new callback_sec_parms4[1]; op.opcreate_session.csa_sec_parms[0] = new callback_sec_parms4(); op.opcreate_session.csa_sec_parms[0].cb_secflavor = nfs4_prot.AUTH_NONE; ops.add(op); return this; }