Package org.onlab.packet.lacp
Class LacpTerminatorTlv
- java.lang.Object
-
- org.onlab.packet.BasePacket
-
- org.onlab.packet.lacp.LacpTlv
-
- org.onlab.packet.lacp.LacpTerminatorTlv
-
-
Field Summary
Fields Modifier and Type Field Description static byte
LENGTH
-
Fields inherited from class org.onlab.packet.lacp.LacpTlv
HEADER_LENGTH
-
Fields inherited from class org.onlab.packet.BasePacket
parent, payload
-
-
Constructor Summary
Constructors Constructor Description LacpTerminatorTlv()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Deserializer<LacpTerminatorTlv>
deserializer()
Deserializer function for LacpTerminatorTlv packets.byte[]
serialize()
Sets all payloads parent packet if applicable, then serializes this packet and all payloads.java.lang.String
toString()
-
Methods inherited from class org.onlab.packet.BasePacket
clone, equals, getParent, getPayload, hashCode, resetChecksum, setParent, setPayload
-
-
-
-
Field Detail
-
LENGTH
public static final byte LENGTH
- See Also:
- Constant Field Values
-
-
Method Detail
-
deserializer
public static Deserializer<LacpTerminatorTlv> deserializer()
Deserializer function for LacpTerminatorTlv 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
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-