Class NeighborDiscoveryOptions.Option

  • Enclosing class:
    NeighborDiscoveryOptions

    public final class NeighborDiscoveryOptions.Option
    extends java.lang.Object
    Packet option.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte[] data()
      Gets the option data.
      int dataLength()
      Gets the option data length (in number of octets).
      java.lang.String toString()  
      byte type()
      Gets the option type.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Method Detail

      • type

        public byte type()
        Gets the option type.
        Returns:
        the option type
      • data

        public byte[] data()
        Gets the option data.
        Returns:
        the option data
      • dataLength

        public int dataLength()
        Gets the option data length (in number of octets).
        Returns:
        the option data length (in number of octets)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object