|
SourceForge Jpcap | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface IPv4.IGMP
IGMP (Internet Group Management Protocol) API interface. This supports IGMPv2 and IGMPv3. Note that IGMPv1 is obsolete and is not supported. Note also that IGMP is only used by IPv6: IPv6 uses MLD, a sub-protocol of ICMPv6.
Method Summary | |
---|---|
InetAddress |
getGroupInetAddress()
Fetch the IGMP group address. |
int |
getIGMPChecksum()
Fetch the IGMP checksum. |
byte[] |
getIGMPData()
Fetch the IGMP data as a byte array. |
byte[] |
getIGMPHeader()
Fetch the IGMP header as a byte array. |
int |
getMaxResponseTime()
Fetch the IGMP max response time. |
int |
getMessageType()
Fetch the IGMP message type. |
void |
setGroupInetAddress(InetAddress address)
Set the IGMP group address. |
void |
setMaxResponseTime(byte time)
Set the IGMP max response time. |
void |
setMessageType(byte type)
Set the IGMP message type, as per getMessageType() . |
Method Detail |
---|
byte[] getIGMPHeader()
byte[] getIGMPData()
int getMessageType()
IGMPMessage.getDescription(int)
.
void setMessageType(byte type)
getMessageType()
.
type
- message type.IGMPMessages
int getMaxResponseTime()
void setMaxResponseTime(byte time)
time
- the IGMP max response time, in tenths of a second.int getIGMPChecksum()
InetAddress getGroupInetAddress()
void setGroupInetAddress(InetAddress address)
address
- Group address.
|
Copyright © Patrick Charles & Jonas Lehmann, 2001; Esmond Pitt, 2008. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |