Class IGMP.IGMPv3

  • All Implemented Interfaces:
    IPacket
    Enclosing class:
    IGMP

    public static class IGMP.IGMPv3
    extends IGMP
    • Constructor Detail

      • IGMPv3

        public IGMPv3()
    • Method Detail

      • setMaxRespCode

        public void setMaxRespCode​(byte respCode)
        Description copied from class: IGMP
        Set the Max Resp Code.
        Specified by:
        setMaxRespCode in class IGMP
        Parameters:
        respCode - the Maximum Response Code.
      • addGroup

        public boolean addGroup​(IGMPGroup group)
        Description copied from class: IGMP
        Add a multicast group to this IGMP message.
        Specified by:
        addGroup in class IGMP
        Parameters:
        group - the IGMPGroup will be IGMPQuery or IGMPMembership depending on the message type.
        Returns:
        true if group was valid and added, false otherwise.
      • validChecksum

        protected boolean validChecksum()
        Description copied from class: IGMP
        Validates the message's checksum.
        Specified by:
        validChecksum in class IGMP
        Returns:
        true if valid, false if not