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