Class ARP


  • public class ARP
    extends org.opendaylight.openflowplugin.libraries.liblldp.Packet
    Class that represents the ARP packet objects taken from opendaylight(helium) adsal bundle.
    • Constructor Detail

      • ARP

        public ARP()
        Default constructor that creates and sets the HashMap.
      • ARP

        public ARP​(boolean writeAccess)
    • Method Detail

      • getHardwareType

        public short getHardwareType()
      • getProtocolType

        public short getProtocolType()
      • getHardwareAddressLength

        public byte getHardwareAddressLength()
      • getProtocolAddressLength

        public byte getProtocolAddressLength()
      • getOpCode

        public short getOpCode()
      • getSenderHardwareAddress

        public byte[] getSenderHardwareAddress()
      • getSenderProtocolAddress

        public byte[] getSenderProtocolAddress()
      • getTargetHardwareAddress

        public byte[] getTargetHardwareAddress()
      • setHardwareType

        public ARP setHardwareType​(short hardwareType)
      • setProtocolType

        public ARP setProtocolType​(short protocolType)
      • setHardwareAddressLength

        public ARP setHardwareAddressLength​(byte hardwareAddressLength)
      • setProtocolAddressLength

        public ARP setProtocolAddressLength​(byte protocolAddressLength)
      • setOpCode

        public ARP setOpCode​(short opCode)
      • setSenderHardwareAddress

        public ARP setSenderHardwareAddress​(byte[] senderHardwareAddress)
      • setTargetHardwareAddress

        public ARP setTargetHardwareAddress​(byte[] targetHardwareAddress)
      • setTargetProtocolAddress

        public ARP setTargetProtocolAddress​(byte[] targetProtocolAddress)
      • setSenderProtocolAddress

        public ARP setSenderProtocolAddress​(byte[] senderIP)
      • getTargetProtocolAddress

        public byte[] getTargetProtocolAddress()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class org.opendaylight.openflowplugin.libraries.liblldp.Packet
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class org.opendaylight.openflowplugin.libraries.liblldp.Packet