public class IGMPQuery extends IGMPGroup
Constructor and Description |
---|
IGMPQuery()
Create IGMP Query message.
|
IGMPQuery(IpAddress gaddr,
int auxInfo)
Create IGMP Query message.
|
Modifier and Type | Method and Description |
---|---|
IGMPGroup |
deserialize(ByteBuffer bb)
Deserialize the IGMP Query group structure.
|
boolean |
equals(Object obj) |
byte |
getQrv()
Get the Querier Robustness Variable.
|
byte |
getResv()
Get the reserved field.
|
int |
hashCode() |
boolean |
isSbit()
Is the S flag set? Telling adjacent routers to suppress normal timer updates.
|
byte[] |
serialize(ByteBuffer bb)
Serialize this IGMPQuery.
|
void |
setQrv(byte qrv)
Set the Querier Robustness Variable.
|
void |
setResv(byte resv)
Set the reserved field.
|
void |
setSbit(boolean sbit)
Set the S flag.
|
addSource, getAuxInfo, getGaddr, getSources, toString
public IGMPQuery(IpAddress gaddr, int auxInfo)
gaddr
- initiaze with a group address.auxInfo
- auxillary info.public IGMPQuery()
public boolean isSbit()
public void setSbit(boolean sbit)
sbit
- true or falsepublic byte getQrv()
public void setQrv(byte qrv)
qrv
- new querier robustness valuepublic byte getResv()
public void setResv(byte resv)
resv
- the reserved field.public byte[] serialize(ByteBuffer bb)
public IGMPGroup deserialize(ByteBuffer bb) throws DeserializationException
deserialize
in class IGMPGroup
bb
- ByteBuffer pointing at the IGMP Query group addressDeserializationException
- on serializer error