Class DF1UnprotectedReadResponse

java.lang.Object
org.apache.plc4x.java.df1.readwrite.DF1Command
org.apache.plc4x.java.df1.readwrite.DF1UnprotectedReadResponse
All Implemented Interfaces:
org.apache.plc4x.java.spi.generation.Message, org.apache.plc4x.java.spi.utils.Serializable

public class DF1UnprotectedReadResponse extends DF1Command implements org.apache.plc4x.java.spi.generation.Message
  • Field Details

    • data

      protected final byte[] data
  • Constructor Details

    • DF1UnprotectedReadResponse

      public DF1UnprotectedReadResponse(short status, int transactionCounter, byte[] data)
  • Method Details

    • getCommandCode

      public Short getCommandCode()
      Specified by:
      getCommandCode in class DF1Command
    • getData

      public byte[] getData()
    • serializeDF1CommandChild

      protected void serializeDF1CommandChild(org.apache.plc4x.java.spi.generation.WriteBuffer writeBuffer) throws org.apache.plc4x.java.spi.generation.SerializationException
      Specified by:
      serializeDF1CommandChild in class DF1Command
      Throws:
      org.apache.plc4x.java.spi.generation.SerializationException
    • getLengthInBytes

      public int getLengthInBytes()
      Specified by:
      getLengthInBytes in interface org.apache.plc4x.java.spi.generation.Message
      Overrides:
      getLengthInBytes in class DF1Command
    • getLengthInBits

      public int getLengthInBits()
      Specified by:
      getLengthInBits in interface org.apache.plc4x.java.spi.generation.Message
      Overrides:
      getLengthInBits in class DF1Command
    • staticParseBuilder

      public static DF1UnprotectedReadResponse.DF1UnprotectedReadResponseBuilder staticParseBuilder(org.apache.plc4x.java.spi.generation.ReadBuffer readBuffer) throws org.apache.plc4x.java.spi.generation.ParseException
      Throws:
      org.apache.plc4x.java.spi.generation.ParseException
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class DF1Command
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class DF1Command
    • toString

      public String toString()
      Overrides:
      toString in class DF1Command