com.ibm.as400.util.commtrace
Class NeighborSolicitation
- java.lang.Object
-
- com.ibm.as400.util.commtrace.Header
-
- com.ibm.as400.util.commtrace.ICMP6Header
-
- com.ibm.as400.util.commtrace.Message
-
- com.ibm.as400.util.commtrace.NeighborSolicitation
-
public class NeighborSolicitation extends Message
A Neighbor Solicitation Header.
Extends Message's methods to parse, print, and allow easy access to the Neighbor Solicitation Header.
-
-
Field Summary
-
Method Summary
Methods Modifier and Type Method and Description int
getHeaderLen()
Returns the length of this header.Header
getNextHeader()
Returns the next header in the packet.java.lang.String
getTargetAddress()
Returns the target address of this NeighborSolicitation Message.java.lang.String
toString(FormatProperties filter)
Returns a printable representation of this header.-
Methods inherited from class com.ibm.as400.util.commtrace.ICMP6Header
getChecksum, getCode, getTypeField
-
Methods inherited from class com.ibm.as400.util.commtrace.Header
getHeaderData, getName, getPayload, getPayLoad, getPayloadBytes, getPayloadHexString, getType, printHexHeader, toHexString, toString
-
-
-
-
Method Detail
-
getNextHeader
public Header getNextHeader()
Returns the next header in the packet.- Overrides:
getNextHeader
in classICMP6Header
- Returns:
- Will always return a NDOption header.
-
getHeaderLen
public int getHeaderLen()
Returns the length of this header.- Overrides:
getHeaderLen
in classICMP6Header
- Returns:
- Will always return 160
-
toString
public java.lang.String toString(FormatProperties filter)
Returns a printable representation of this header.
-
getTargetAddress
public java.lang.String getTargetAddress()
Returns the target address of this NeighborSolicitation Message.- Returns:
- String containing a delimited IPv6 address.
-
-