Class DF1UnprotectedReadRequest

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

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

    • address

      protected final int address
    • size

      protected final short size
  • Constructor Details

    • DF1UnprotectedReadRequest

      public DF1UnprotectedReadRequest(short status, int transactionCounter, int address, short size)
  • Method Details

    • getCommandCode

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

      public int getAddress()
    • getSize

      public short getSize()
    • 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 DF1UnprotectedReadRequest.DF1UnprotectedReadRequestBuilder 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