Package org.jscsi.scsi.protocol.sense

Examples of org.jscsi.scsi.protocol.sense.FixedSenseData


         {
            out.write((new DescriptorSenseData()).encode());
         }
         else
         {
            out.write((new FixedSenseData(true, KCQ.NO_ERROR, null, null, null)).encode());
         }
      }
      catch (IOException e)
      {
         _logger.error("unable to encode sense data: " + e);
View Full Code Here


   public byte[] encode()
   {
      // FIXME: Currently we hard code always returning fixed sense data
      SenseData data =
            new FixedSenseData(this.current, this.kcq, this.getInformation(),
                  this.getCommandSpecificInformation(), this.getSenseKeySpecific());
      return data.encode();
   }
View Full Code Here

TOP

Related Classes of org.jscsi.scsi.protocol.sense.FixedSenseData

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.