nsap_ptrrecord.java

来自「linux下建立JAVA虚拟机的源码KAFFE」· Java 代码 · 共 37 行

JAVA
37
字号
// Copyright (c) 1999-2004 Brian Wellington (bwelling@xbill.org)package org.xbill.DNS;/** * NSAP Pointer Record  - maps a domain name representing an NSAP Address to * a hostname. * * @author Brian Wellington */public class NSAP_PTRRecord extends SingleNameBase {NSAP_PTRRecord() {}RecordgetObject() {	return new NSAP_PTRRecord();}/**  * Creates a new NSAP_PTR Record with the given data * @param target The name of the host with this address */publicNSAP_PTRRecord(Name name, int dclass, long ttl, Name target) {	super(name, Type.NSAP_PTR, dclass, ttl, target, "target");}/** Gets the target of the NSAP_PTR Record */public NamegetTarget() {	return getSingleName();}}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?