@UnstableApi
public interface DnsRecord
Modifier and Type | Field and Description |
---|---|
static int |
CLASS_ANY
DNS资源记录类:
ANY
|
static int |
CLASS_CHAOS
DNS资源记录类:
CHAOS
|
static int |
CLASS_CSNET
DNS资源记录类:
CSNET
|
static int |
CLASS_HESIOD
DNS资源记录类:
HESIOD
|
static int |
CLASS_IN
DNS资源记录类:
IN
|
static int |
CLASS_NONE
DNS资源记录类:
NONE
|
Modifier and Type | Method and Description |
---|---|
int |
dnsClass()
返回此资源记录的类。
|
java.lang.String |
name()
返回此资源记录的名称。
|
long |
timeToLive()
在阅读此资源记录后,返回生活的时间。
|
DnsRecordType |
type()
返回此资源记录的类型。
|
static final int CLASS_IN
IN
static final int CLASS_CSNET
CSNET
static final int CLASS_CHAOS
CHAOS
static final int CLASS_HESIOD
HESIOD
static final int CLASS_NONE
NONE
static final int CLASS_ANY
ANY
java.lang.String name()
DnsRecordType type()
int dnsClass()
long timeToLive()
Copyright © 2008–2018 The Netty Project. All rights reserved.