Class Slow

  • All Implemented Interfaces:
    IPacket

    public class Slow
    extends BasePacket
    Implements ethernet slow protocols.
    • Constructor Detail

      • Slow

        public Slow()
    • Method Detail

      • getSubtype

        public byte getSubtype()
        Gets subtype.
        Returns:
        subtype
      • setSubtype

        public Slow setSubtype​(byte subtype)
        Sets subtype.
        Parameters:
        subtype - the subtype to set
        Returns:
        this
      • deserializer

        public static Deserializer<Slow> deserializer()
        Deserializer function for Slow packets.
        Returns:
        deserializer function
      • serialize

        public byte[] serialize()
        Description copied from interface: IPacket
        Sets all payloads parent packet if applicable, then serializes this packet and all payloads.
        Returns:
        a byte[] containing this packet and payloads
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class BasePacket
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object