Package org.onlab.packet.lacp
Class LacpCollectorTlv
- java.lang.Object
-
- org.onlab.packet.BasePacket
-
- org.onlab.packet.lacp.LacpTlv
-
- org.onlab.packet.lacp.LacpCollectorTlv
-
-
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 LacpCollectorTlv()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Deserializer<LacpCollectorTlv>
deserializer()
Deserializer function for LacpCollectorTlv packets.boolean
equals(java.lang.Object obj)
short
getCollectorMaxDelay()
Gets collector max delay.int
hashCode()
byte[]
serialize()
Sets all payloads parent packet if applicable, then serializes this packet and all payloads.LacpCollectorTlv
setCollectorMaxDelay(short collectorMaxDelay)
Sets collector max delay.java.lang.String
toString()
-
Methods inherited from class org.onlab.packet.BasePacket
clone, getParent, getPayload, resetChecksum, setParent, setPayload
-
-
-
-
Field Detail
-
LENGTH
public static final byte LENGTH
- See Also:
- Constant Field Values
-
-
Method Detail
-
getCollectorMaxDelay
public short getCollectorMaxDelay()
Gets collector max delay.- Returns:
- collector max delay
-
setCollectorMaxDelay
public LacpCollectorTlv setCollectorMaxDelay(short collectorMaxDelay)
Sets collector max delay.- Parameters:
collectorMaxDelay
- collector max delay- Returns:
- this
-
deserializer
public static Deserializer<LacpCollectorTlv> deserializer()
Deserializer function for LacpCollectorTlv 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 classBasePacket
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classBasePacket
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-