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.InetAddressaddress()Return the host, taking into account the "java.net.preferIPv6Addresses" system property.booleancanEqual(java.lang.Object x$1)DnsProtocol.Resolvedcopy(java.lang.String name, scala.collection.immutable.Seq<ResourceRecord> records, scala.collection.immutable.Seq<ResourceRecord> additionalRecords)java.lang.Stringcopy$default$1()scala.collection.immutable.Seq<ResourceRecord>copy$default$2()scala.collection.immutable.Seq<ResourceRecord>copy$default$3()booleanequals(java.lang.Object x$1)java.util.List<ResourceRecord>getAdditionalRecords()Java APIjava.util.List<ResourceRecord>getRecords()Java APIinthashCode()java.lang.Stringname()intproductArity()java.lang.ObjectproductElement(int x$1)java.lang.StringproductElementName(int x$1)scala.collection.Iterator<java.lang.Object>productIterator()java.lang.StringproductPrefix()scala.collection.immutable.Seq<ResourceRecord>records()java.lang.StringtoString()
-
-
-
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.UnknownHostExceptionReturn 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:
productPrefixin interfacescala.Product
-
productArity
public int productArity()
- Specified by:
productArityin interfacescala.Product
-
productElement
public java.lang.Object productElement(int x$1)
- Specified by:
productElementin interfacescala.Product
-
productIterator
public scala.collection.Iterator<java.lang.Object> productIterator()
- Specified by:
productIteratorin interfacescala.Product
-
canEqual
public boolean canEqual(java.lang.Object x$1)
- Specified by:
canEqualin interfacescala.Equals
-
productElementName
public java.lang.String productElementName(int x$1)
- Specified by:
productElementNamein interfacescala.Product
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object x$1)
- Specified by:
equalsin interfacescala.Equals- Overrides:
equalsin classjava.lang.Object
-
-