Package org.jscsi.target.settings

Examples of org.jscsi.target.settings.Settings


                phase = new TargetLoginPhase(this);
                if (phase.execute(lastReceivedPDU)) {
                    LOGGER.debug("Login Phase successful");

                    // if this is the leading connection, set the session type
                    final Settings settings = getSettings();
                    if (isLeadingConnection) targetSession.setSessionType(SessionType.getSessionType(settings.getSessionType()));
                    targetSession.setTargetName(settings.getTargetName());
                    // *** full feature phase ***
                    phase = new TargetFullFeaturePhase(this);

                    phase.execute();
                }
View Full Code Here


            pdu = protocolDataUnitFactory.create(TextKeyword.NONE,// header
                                                                  // digest
                    TextKeyword.NONE);// data digest
        } else {
            // use negotiated or (now available) default settings
            final Settings settings = connection.getSettings();
            pdu = protocolDataUnitFactory.create(settings.getHeaderDigest(), settings.getDataDigest());
        }

        try {
            pdu.read(socketChannel);
        } catch (ClosedChannelException e) {
View Full Code Here

TOP

Related Classes of org.jscsi.target.settings.Settings

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.