Package akka.io.dns

Class RecordType

  • All Implemented Interfaces:
    java.io.Serializable, scala.Equals, scala.Product, scala.Serializable

    public final class RecordType
    extends java.lang.Object
    implements scala.Product, scala.Serializable
    DNS Record Type
    See Also:
    Serialized Form
    • Constructor Detail

      • RecordType

        public RecordType​(short code,
                          java.lang.String name)
    • Method Detail

      • lookup

        public static RecordType lookup​(int code)
      • A

        public static final RecordType A()
        A host address
      • NS

        public static final RecordType NS()
        An authoritative name server
      • MD

        public static final RecordType MD()
        A mail destination (Obsolete - use MX)
      • MF

        public static final RecordType MF()
        A mail forwarder (Obsolete - use MX)
      • CNAME

        public static final RecordType CNAME()
        the canonical name for an alias
      • SOA

        public static final RecordType SOA()
        marks the start of a zone of authority
      • MB

        public static final RecordType MB()
        A mailbox domain name (EXPERIMENTAL)
      • MG

        public static final RecordType MG()
        A mail group member (EXPERIMENTAL)
      • MR

        public static final RecordType MR()
        A mail rename domain name (EXPERIMENTAL)
      • NULL

        public static final RecordType NULL()
        A null RR (EXPERIMENTAL)
      • WKS

        public static final RecordType WKS()
        A well known service description
      • PTR

        public static final RecordType PTR()
        A domain name pointer
      • HINFO

        public static final RecordType HINFO()
        host information
      • MINFO

        public static final RecordType MINFO()
        mailbox or mail list information
      • MX

        public static final RecordType MX()
        mail exchange
      • TXT

        public static final RecordType TXT()
        text strings
      • AAAA

        public static final RecordType AAAA()
        The AAAA resource record type is a record specific to the Internet class that stores a single IPv6 address.
      • SRV

        public static final RecordType SRV()
        The SRV RR allows administrators to use several servers for a single domain, to move services from host to host with little fuss, and to designate some hosts as primary servers for a service and others as backups.
        Returns:
        (undocumented)
      • WILDCARD

        public static final RecordType WILDCARD()
      • apply

        public static RecordType apply​(short code,
                                       java.lang.String name)
      • unapply

        public static scala.Option<scala.Tuple2<java.lang.Object,​java.lang.String>> unapply​(RecordType x$0)
      • code

        public short code()
      • name

        public java.lang.String name()
      • copy

        public RecordType copy​(short code,
                               java.lang.String name)
      • copy$default$1

        public short copy$default$1()
      • copy$default$2

        public java.lang.String copy$default$2()
      • 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