| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| InvalidSenseKeySpecificData |
|
| 1.0;1 |
| 1 | package org.jscsi.target.scsi.sense.senseDataDescriptor.senseKeySpecific; | |
| 2 | ||
| 3 | ||
| 4 | import java.nio.ByteBuffer; | |
| 5 | ||
| 6 | ||
| 7 | /** | |
| 8 | * This kind of sense-key-specific data can be used instead of all the other {@link SenseKeySpecificData} subclasses, if | |
| 9 | * no valid sense-key-specific data is to be transmitted to the SCSI initiator. | |
| 10 | * <p> | |
| 11 | * All serialized objects of this class proclaims to contain no valid data. | |
| 12 | * | |
| 13 | * @author Andreas Ergenzinger | |
| 14 | */ | |
| 15 | public class InvalidSenseKeySpecificData extends SenseKeySpecificData { | |
| 16 | ||
| 17 | public InvalidSenseKeySpecificData () { | |
| 18 | 0 | super(false);// sense key specific data not valid |
| 19 | 0 | } |
| 20 | ||
| 21 | @Override | |
| 22 | protected void serializeSpecificFields (ByteBuffer byteBuffer, int index) { | |
| 23 | // do nothing | |
| 24 | 0 | } |
| 25 | ||
| 26 | } |