Class DF1Symbol

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

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

    • MESSAGESTART

      public static final Short MESSAGESTART
  • Constructor Details

    • DF1Symbol

      public DF1Symbol()
  • Method Details

    • getSymbolType

      public abstract Short getSymbolType()
    • getMessageStart

      public short getMessageStart()
    • serializeDF1SymbolChild

      protected abstract void serializeDF1SymbolChild(org.apache.plc4x.java.spi.generation.WriteBuffer writeBuffer) throws org.apache.plc4x.java.spi.generation.SerializationException
      Throws:
      org.apache.plc4x.java.spi.generation.SerializationException
    • serialize

      public void serialize(org.apache.plc4x.java.spi.generation.WriteBuffer writeBuffer) throws org.apache.plc4x.java.spi.generation.SerializationException
      Specified by:
      serialize in interface org.apache.plc4x.java.spi.utils.Serializable
      Throws:
      org.apache.plc4x.java.spi.generation.SerializationException
    • getLengthInBytes

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

      public int getLengthInBits()
      Specified by:
      getLengthInBits in interface org.apache.plc4x.java.spi.generation.Message
    • staticParse

      public static DF1Symbol staticParse(org.apache.plc4x.java.spi.generation.ReadBuffer readBuffer, Object... args) throws org.apache.plc4x.java.spi.generation.ParseException
      Throws:
      org.apache.plc4x.java.spi.generation.ParseException
    • staticParse

      public static DF1Symbol staticParse(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 Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object