Package org.jscsi.parser.tmf

Examples of org.jscsi.parser.tmf.TaskManagementFunctionResponseParser


            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 :
                return new SCSIResponseParser(protocolDataUnit);
            default :
View Full Code Here


    }

    public static final ProtocolDataUnit createTMResponsePdu (TaskManagementFunctionResponseParser.ResponseCode response, int initiatorTaskTag) {
        final ProtocolDataUnit pdu = factory.create(false, true, OperationCode.SCSI_TM_RESPONSE, "None", "None");
        final BasicHeaderSegment bhs = pdu.getBasicHeaderSegment();
        final TaskManagementFunctionResponseParser parser = (TaskManagementFunctionResponseParser) bhs.getParser();
        parser.setResponse(response);
        bhs.setInitiatorTaskTag(initiatorTaskTag);
        return (pdu);
    }
View Full Code Here

TOP

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

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.