Package org.jscsi.initiator.connection.state

Examples of org.jscsi.initiator.connection.state.LoginRequestState


    protected final short addNewConnection () throws Exception {

        if (connections.size() < maxConnections) {

            final Connection connection = factory.getConnection(this, configuration, inetSocketAddress, nextFreeConnectionID);
            connection.nextState(new LoginRequestState(connection, LoginStage.FULL_FEATURE_PHASE));
            // login phase successful, so we can add a new connection
            connections.add(connection);

            // only needed on the leading login connection
            if (connections.size() == 1) {
View Full Code Here

TOP

Related Classes of org.jscsi.initiator.connection.state.LoginRequestState

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.