Package akka.io.dns
Class DnsProtocol.Resolved
- java.lang.Object
-
- akka.io.dns.DnsProtocol.Resolved
-
- All Implemented Interfaces:
NoSerializationVerificationNeeded
,java.io.Serializable
,scala.Equals
,scala.Product
- Enclosing class:
- DnsProtocol
public static final class DnsProtocol.Resolved extends java.lang.Object implements NoSerializationVerificationNeeded, scala.Product, java.io.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 Summary
Constructors Constructor Description Resolved(java.lang.String name, scala.collection.immutable.Seq<ResourceRecord> records, scala.collection.immutable.Seq<ResourceRecord> additionalRecords)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description scala.collection.immutable.Seq<ResourceRecord>
additionalRecords()
java.net.InetAddress
address()
Return the host, taking into account the "java.net.preferIPv6Addresses" system property.boolean
canEqual(java.lang.Object x$1)
DnsProtocol.Resolved
copy(java.lang.String name, scala.collection.immutable.Seq<ResourceRecord> records, scala.collection.immutable.Seq<ResourceRecord> additionalRecords)
java.lang.String
copy$default$1()
scala.collection.immutable.Seq<ResourceRecord>
copy$default$2()
scala.collection.immutable.Seq<ResourceRecord>
copy$default$3()
boolean
equals(java.lang.Object x$1)
java.util.List<ResourceRecord>
getAdditionalRecords()
Java APIjava.util.List<ResourceRecord>
getRecords()
Java APIint
hashCode()
java.lang.String
name()
int
productArity()
java.lang.Object
productElement(int x$1)
java.lang.String
productElementName(int x$1)
scala.collection.Iterator<java.lang.Object>
productIterator()
java.lang.String
productPrefix()
scala.collection.immutable.Seq<ResourceRecord>
records()
java.lang.String
toString()
-
-
-
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 APIRecords for the query
-
getAdditionalRecords
public java.util.List<ResourceRecord> getAdditionalRecords()
Java APIRecords that relate to the query but are not strickly answers e.g. A records for the records returned for an SRV query.
-
address
public java.net.InetAddress address() throws java.net.UnknownHostException
Return the host, taking into account the "java.net.preferIPv6Addresses" system property.- Throws:
UnknownHostException
-
copy
public DnsProtocol.Resolved copy(java.lang.String name, scala.collection.immutable.Seq<ResourceRecord> records, scala.collection.immutable.Seq<ResourceRecord> additionalRecords)
-
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 interfacescala.Product
-
productArity
public int productArity()
- Specified by:
productArity
in interfacescala.Product
-
productElement
public java.lang.Object productElement(int x$1)
- Specified by:
productElement
in interfacescala.Product
-
productIterator
public scala.collection.Iterator<java.lang.Object> productIterator()
- Specified by:
productIterator
in interfacescala.Product
-
canEqual
public boolean canEqual(java.lang.Object x$1)
- Specified by:
canEqual
in interfacescala.Equals
-
productElementName
public java.lang.String productElementName(int x$1)
- Specified by:
productElementName
in interfacescala.Product
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object x$1)
- Specified by:
equals
in interfacescala.Equals
- Overrides:
equals
in classjava.lang.Object
-
-