Class A

  • All Implemented Interfaces:
    Data

    public class A
    extends java.lang.Object
    implements Data
    A record payload (ip pointer).
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private byte[] ip
      Target IP.
    • Constructor Summary

      Constructors 
      Constructor Description
      A()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Record.TYPE getType()
      The payload type.
      void parse​(java.io.DataInputStream dis, byte[] data, int length)
      Parse this payload.
      byte[] toByteArray()
      Binary representation of this payload.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

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

      • ip

        private byte[] ip
        Target IP.
    • Constructor Detail

      • A

        public A()
    • Method Detail

      • getType

        public Record.TYPE getType()
        Description copied from interface: Data
        The payload type.
        Specified by:
        getType in interface Data
        Returns:
        The payload type.
      • toByteArray

        public byte[] toByteArray()
        Description copied from interface: Data
        Binary representation of this payload.
        Specified by:
        toByteArray in interface Data
        Returns:
        The binary representation of this payload.
      • parse

        public void parse​(java.io.DataInputStream dis,
                          byte[] data,
                          int length)
                   throws java.io.IOException
        Description copied from interface: Data
        Parse this payload.
        Specified by:
        parse in interface Data
        Parameters:
        dis - The input stream.
        data - The plain data (needed for name cross references).
        length - The payload length.
        Throws:
        java.io.IOException - on io error (read past paket boundary).
      • toString

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