IGMP.IGMPv2, IGMP.IGMPv3
Modifier and Type | Field and Description |
---|---|
static int |
HEADER_LENGTH |
checksum, igmpType, log, resField, TYPE_IGMPV1_MEMBERSHIP_REPORT, TYPE_IGMPV2_LEAVE_GROUP, TYPE_IGMPV2_MEMBERSHIP_REPORT, TYPE_IGMPV3_MEMBERSHIP_QUERY, TYPE_IGMPV3_MEMBERSHIP_REPORT
parent, payload
Constructor and Description |
---|
IGMPv2() |
Modifier and Type | Method and Description |
---|---|
boolean |
addGroup(IGMPGroup group)
Add a multicast group to this IGMP message.
|
void |
setMaxRespCode(byte respCode)
Set the Max Resp Code.
|
protected boolean |
validChecksum()
Validates the message's checksum.
|
deserializer, equals, getChecksum, getGroups, getIgmpType, getMaxRespField, hashCode, serialize, setIgmpType, toString
clone, getParent, getPayload, resetChecksum, setParent, setPayload
public static final int HEADER_LENGTH
public void setMaxRespCode(byte respCode)
IGMP
setMaxRespCode
in class IGMP
respCode
- the Maximum Response Code.public boolean addGroup(IGMPGroup group)
IGMP
protected boolean validChecksum()
IGMP
validChecksum
in class IGMP