Class Lacp

    • Constructor Detail

      • Lacp

        public Lacp()
    • Method Detail

      • getLacpVersion

        public byte getLacpVersion()
        Gets LACP version.
        Returns:
        LACP version
      • setLacpVersion

        public Lacp setLacpVersion​(byte lacpVersion)
        Sets LACP version.
        Parameters:
        lacpVersion - LACP version
        Returns:
        this
      • getTlv

        public Map<Byte,​LacpTlv> getTlv()
        Gets LACP TLV.
        Returns:
        LACP TLV
      • setTlv

        public Lacp setTlv​(Map<Byte,​LacpTlv> tlv)
        Sets LACP TLV.
        Parameters:
        tlv - LACP TLV
        Returns:
        this
      • deserializer

        public static Deserializer<Lacp> deserializer()
        Deserializer function for LACP 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