Package org.jnode.driver.bus.scsi.cdb.spc

Examples of org.jnode.driver.bus.scsi.cdb.spc.CDBRequestSense


    }

    public SenseData requestSense() throws SCSIException,
        TimeoutException, InterruptedException {
        final byte[] data = new byte[256];
        final CDB cdb = new CDBRequestSense(data.length);
        api.executeCommand(cdb, data, 0, 5000);
        return new SenseData(data);
    }
View Full Code Here


     *
     * @return The requested sense data.
     */
    public final SenseData requestSense() throws SCSIException, TimeoutException, InterruptedException {
        final byte[] data = new byte[96];
        final CDB cdb = new CDBRequestSense(data.length);
        executeCommand(cdb, data, 0, SCSIConstants.GROUP_NOTIMEOUT);
        return new SenseData(data);
    }
View Full Code Here

TOP

Related Classes of org.jnode.driver.bus.scsi.cdb.spc.CDBRequestSense

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.