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 byteLENGTH- 
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.booleanequals(java.lang.Object obj)shortgetCollectorMaxDelay()Gets collector max delay.inthashCode()byte[]serialize()Sets all payloads parent packet if applicable, then serializes this packet and all payloads.LacpCollectorTlvsetCollectorMaxDelay(short collectorMaxDelay)Sets collector max delay.java.lang.StringtoString()- 
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:IPacketSets 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:
 equalsin classBasePacket
 
- 
hashCode
public int hashCode()
- Overrides:
 hashCodein classBasePacket
 
- 
toString
public java.lang.String toString()
- Overrides:
 toStringin classjava.lang.Object
 
 - 
 
 -