afsdbrecord.java
来自「DNS Java 是java实现的DNS」· Java 代码 · 共 45 行
JAVA
45 行
// Copyright (c) 2004 Brian Wellington (bwelling@xbill.org)package org.xbill.DNS;/** * AFS Data Base Record - maps a domain name to the name of an AFS cell * database server. * * * @author Brian Wellington */public class AFSDBRecord extends U16NameBase {AFSDBRecord() {}RecordgetObject() { return new AFSDBRecord();}/** * Creates an AFSDB Record from the given data. * @param subtype Indicates the type of service provided by the host. * @param host The host providing the service. */publicAFSDBRecord(Name name, int dclass, long ttl, int subtype, Name host) { super(name, Type.AFSDB, dclass, ttl, subtype, "subtype", host, "host");}/** Gets the subtype indicating the service provided by the host. */public intgetSubtype() { return getU16Field();}/** Gets the host providing service for the domain. */public NamegetHost() { return getNameField();}}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?