Package org.apache.pekko.io.dns
Class ResourceRecord
- java.lang.Object
-
- org.apache.pekko.io.dns.ResourceRecord
-
- All Implemented Interfaces:
NoSerializationVerificationNeeded
- Direct Known Subclasses:
AAAARecord
,ARecord
,CNameRecord
,SRVRecord
,UnknownRecord
public abstract class ResourceRecord extends java.lang.Object implements NoSerializationVerificationNeeded
Not for user extension
-
-
Constructor Summary
Constructors Constructor Description ResourceRecord(java.lang.String name, CachePolicy.Ttl ttl, short recType, short recClass)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
name()
static ResourceRecord
parse(ByteIterator it, ByteString msg)
INTERNAL APIshort
recClass()
short
recType()
CachePolicy.Ttl
ttl()
-
-
-
Constructor Detail
-
ResourceRecord
public ResourceRecord(java.lang.String name, CachePolicy.Ttl ttl, short recType, short recClass)
-
-
Method Detail
-
parse
public static ResourceRecord parse(ByteIterator it, ByteString msg)
INTERNAL API
-
name
public java.lang.String name()
-
ttl
public CachePolicy.Ttl ttl()
-
recType
public short recType()
-
recClass
public short recClass()
-
-