Package akka.io.dns

Class DnsProtocol.Resolved

  • All Implemented Interfaces:
    NoSerializationVerificationNeeded, java.io.Serializable, scala.Equals, scala.Product, scala.Serializable
    Enclosing class:
    DnsProtocol

    public static final class DnsProtocol.Resolved
    extends java.lang.Object
    implements NoSerializationVerificationNeeded, scala.Product, scala.Serializable
    param: name of the record param: records resource records for the query param: additionalRecords records that relate to the query but are not strictly answers
    See Also:
    Serialized Form
    • Constructor Detail

      • Resolved

        public Resolved​(java.lang.String name,
                        scala.collection.immutable.Seq<ResourceRecord> records,
                        scala.collection.immutable.Seq<ResourceRecord> additionalRecords)
    • Method Detail

      • name

        public java.lang.String name()
      • records

        public scala.collection.immutable.Seq<ResourceRecord> records()
      • additionalRecords

        public scala.collection.immutable.Seq<ResourceRecord> additionalRecords()
      • getRecords

        public java.util.List<ResourceRecord> getRecords()
        Java API

        Records for the query

        Returns:
        (undocumented)
      • getAdditionalRecords

        public java.util.List<ResourceRecord> getAdditionalRecords()
        Java API

        Records that relate to the query but are not strickly answers e.g. A records for the records returned for an SRV query.

        Returns:
        (undocumented)
      • copy$default$1

        public java.lang.String copy$default$1()
      • copy$default$2

        public scala.collection.immutable.Seq<ResourceRecord> copy$default$2()
      • copy$default$3

        public scala.collection.immutable.Seq<ResourceRecord> copy$default$3()
      • productPrefix

        public java.lang.String productPrefix()
        Specified by:
        productPrefix in interface scala.Product
      • productArity

        public int productArity()
        Specified by:
        productArity in interface scala.Product
      • productElement

        public java.lang.Object productElement​(int x$1)
        Specified by:
        productElement in interface scala.Product
      • productIterator

        public scala.collection.Iterator<java.lang.Object> productIterator()
        Specified by:
        productIterator in interface scala.Product
      • canEqual

        public boolean canEqual​(java.lang.Object x$1)
        Specified by:
        canEqual in interface scala.Equals
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

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

        public boolean equals​(java.lang.Object x$1)
        Specified by:
        equals in interface scala.Equals
        Overrides:
        equals in class java.lang.Object