Package org.jscsi.parser.tmf

Examples of org.jscsi.parser.tmf.TaskManagementFunctionRequestParser


            case REJECT :
                return new RejectParser(protocolDataUnit);
            case SNACK_REQUEST :
                return new SNACKRequestParser(protocolDataUnit);
            case SCSI_TM_REQUEST :
                return new TaskManagementFunctionRequestParser(protocolDataUnit);
            case SCSI_TM_RESPONSE :
                return new TaskManagementFunctionResponseParser(protocolDataUnit);
            case SCSI_COMMAND :
                return new SCSICommandParser(protocolDataUnit);
            case SCSI_RESPONSE :
View Full Code Here


    @Override
    public void execute (ProtocolDataUnit pdu) throws IOException , InterruptedException , InternetSCSIException , DigestException , SettingsException {

        final BasicHeaderSegment bhs = pdu.getBasicHeaderSegment();
        final TaskManagementFunctionRequestParser parser = (TaskManagementFunctionRequestParser) bhs.getParser();
        final int initiatorTaskTag = bhs.getInitiatorTaskTag();

        TaskManagementFunctionResponseParser.ResponseCode responseCode = ResponseCode.TASK_DOES_NOT_EXIST;

        switch (parser.getFunction()) {
            case ABORT_TASK :
                LOGGER.error("ABORT_TASK");
                break;
            case ABORT_TASK_SET :
                LOGGER.error("ABORT_TASK_SET");
View Full Code Here

TOP

Related Classes of org.jscsi.parser.tmf.TaskManagementFunctionRequestParser

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.