Class DF1SymbolMessageFrame

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

public class DF1SymbolMessageFrame extends DF1Symbol implements org.apache.plc4x.java.spi.generation.Message
  • Field Details

    • MESSAGEEND

      public static final Short MESSAGEEND
    • ENDTRANSACTION

      public static final Short ENDTRANSACTION
    • destinationAddress

      protected final short destinationAddress
    • sourceAddress

      protected final short sourceAddress
    • command

      protected final DF1Command command
  • Constructor Details

    • DF1SymbolMessageFrame

      public DF1SymbolMessageFrame(short destinationAddress, short sourceAddress, DF1Command command)
  • Method Details

    • getSymbolType

      public Short getSymbolType()
      Specified by:
      getSymbolType in class DF1Symbol
    • getDestinationAddress

      public short getDestinationAddress()
    • getSourceAddress

      public short getSourceAddress()
    • getCommand

      public DF1Command getCommand()
    • getMessageEnd

      public short getMessageEnd()
    • getEndTransaction

      public short getEndTransaction()
    • serializeDF1SymbolChild

      protected void serializeDF1SymbolChild(org.apache.plc4x.java.spi.generation.WriteBuffer writeBuffer) throws org.apache.plc4x.java.spi.generation.SerializationException
      Specified by:
      serializeDF1SymbolChild in class DF1Symbol
      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 DF1Symbol
    • getLengthInBits

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

      public static DF1SymbolMessageFrame.DF1SymbolMessageFrameBuilder 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 DF1Symbol
    • hashCode

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

      public String toString()
      Overrides:
      toString in class DF1Symbol