Package org.jscsi.target.util

Examples of org.jscsi.target.util.SerialArithmeticNumber


        public SerialArithmeticNumber getStatusSequenceNumber () {
            return statusSequenceNumber;
        }

        public void setStatusSequenceNumber (final int statusSequenceNumber) {
            this.statusSequenceNumber = new SerialArithmeticNumber(statusSequenceNumber);
        }
View Full Code Here


        connection.initializeConnectionSettingsNegotiator(sessionSettingsNegotiator);

        // set session variables
        this.initiatorSessionID = initiatorSessionID;
        targetSessionIdentifyingHandle = getNextTargetSessionIdentifyingHandle();
        this.expectedCommandSequenceNumber = new SerialArithmeticNumber(expectedCommandSequenceNumber);
    }
View Full Code Here

     * {@link #expectedCommandSequenceNumber} and {@link #commandWindowSize}) of {@link ProtocolDataUnit}s.
     *
     * @return the {@link SerialArithmeticNumber} representing the next expected command sequence number
     */
    SerialArithmeticNumber getMaximumCommandSequenceNumber () {
        return new SerialArithmeticNumber(expectedCommandSequenceNumber.getValue() + commandWindowSize - 1);
    }
View Full Code Here

TOP

Related Classes of org.jscsi.target.util.SerialArithmeticNumber

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.