Package org.onlab.packet
Class IGMP.IGMPv3
- java.lang.Object
 - 
- org.onlab.packet.BasePacket
 - 
- org.onlab.packet.IGMP
 - 
- org.onlab.packet.IGMP.IGMPv3
 
 
 
 
- 
- 
Nested Class Summary
- 
Nested classes/interfaces inherited from class org.onlab.packet.IGMP
IGMP.IGMPv2, IGMP.IGMPv3 
 - 
 
- 
Field Summary
Fields Modifier and Type Field Description static intMINIMUM_HEADER_LEN- 
Fields inherited from class org.onlab.packet.IGMP
checksum, igmpType, resField, TYPE_IGMPV1_MEMBERSHIP_REPORT, TYPE_IGMPV2_LEAVE_GROUP, TYPE_IGMPV2_MEMBERSHIP_REPORT, TYPE_IGMPV3_MEMBERSHIP_QUERY, TYPE_IGMPV3_MEMBERSHIP_REPORT 
- 
Fields inherited from class org.onlab.packet.BasePacket
parent, payload 
 - 
 
- 
Constructor Summary
Constructors Constructor Description IGMPv3() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaddGroup(IGMPGroup group)Add a multicast group to this IGMP message.voidsetMaxRespCode(byte respCode)Set the Max Resp Code.protected booleanvalidChecksum()Validates the message's checksum.- 
Methods inherited from class org.onlab.packet.IGMP
deserializer, equals, getChecksum, getGroups, getIgmpType, getMaxRespField, hashCode, serialize, setIgmpType, toString 
- 
Methods inherited from class org.onlab.packet.BasePacket
clone, getParent, getPayload, resetChecksum, setParent, setPayload 
 - 
 
 - 
 
- 
- 
Field Detail
- 
MINIMUM_HEADER_LEN
public static final int MINIMUM_HEADER_LEN
- See Also:
 - Constant Field Values
 
 
 - 
 
- 
Method Detail
- 
setMaxRespCode
public void setMaxRespCode(byte respCode)
Description copied from class:IGMPSet the Max Resp Code.- Specified by:
 setMaxRespCodein classIGMP- Parameters:
 respCode- the Maximum Response Code.
 
- 
addGroup
public boolean addGroup(IGMPGroup group)
Description copied from class:IGMPAdd a multicast group to this IGMP message. 
- 
validChecksum
protected boolean validChecksum()
Description copied from class:IGMPValidates the message's checksum.- Specified by:
 validChecksumin classIGMP- Returns:
 - true if valid, false if not
 
 
 - 
 
 -