Package akka.io.dns
Class ARecord
- java.lang.Object
-
- akka.io.dns.ResourceRecord
-
- akka.io.dns.ARecord
-
- All Implemented Interfaces:
NoSerializationVerificationNeeded
,java.io.Serializable
,scala.Equals
,scala.Product
public final class ARecord extends ResourceRecord implements scala.Product, java.io.Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ARecord(java.lang.String name, CachePolicy.Ttl ttl, java.net.InetAddress ip)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ARecord
apply(java.lang.String name, CachePolicy.Ttl ttl, java.net.InetAddress ip)
boolean
canEqual(java.lang.Object x$1)
ARecord
copy(java.lang.String name, CachePolicy.Ttl ttl, java.net.InetAddress ip)
java.lang.String
copy$default$1()
CachePolicy.Ttl
copy$default$2()
java.net.InetAddress
copy$default$3()
boolean
equals(java.lang.Object x$1)
int
hashCode()
java.net.InetAddress
ip()
java.lang.String
name()
static ARecord
parseBody(java.lang.String name, CachePolicy.Ttl ttl, short length, ByteIterator it)
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()
java.lang.String
toString()
CachePolicy.Ttl
ttl()
static scala.Option<scala.Tuple3<java.lang.String,CachePolicy.Ttl,java.net.InetAddress>>
unapply(ARecord x$0)
-
Methods inherited from class akka.io.dns.ResourceRecord
parse, recClass, recType
-
-
-
-
Constructor Detail
-
ARecord
public ARecord(java.lang.String name, CachePolicy.Ttl ttl, java.net.InetAddress ip)
-
-
Method Detail
-
parseBody
public static ARecord parseBody(java.lang.String name, CachePolicy.Ttl ttl, short length, ByteIterator it)
-
apply
public static ARecord apply(java.lang.String name, CachePolicy.Ttl ttl, java.net.InetAddress ip)
-
unapply
public static scala.Option<scala.Tuple3<java.lang.String,CachePolicy.Ttl,java.net.InetAddress>> unapply(ARecord x$0)
-
name
public java.lang.String name()
- Overrides:
name
in classResourceRecord
-
ttl
public CachePolicy.Ttl ttl()
- Overrides:
ttl
in classResourceRecord
-
ip
public java.net.InetAddress ip()
-
copy
public ARecord copy(java.lang.String name, CachePolicy.Ttl ttl, java.net.InetAddress ip)
-
copy$default$1
public java.lang.String copy$default$1()
-
copy$default$2
public CachePolicy.Ttl copy$default$2()
-
copy$default$3
public java.net.InetAddress 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
-
-