blob: ecc609f4910e9eed4722846165276e59c21beb3f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
// 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 {
private static final long serialVersionUID = 2386284746382064904L;
NSAP_PTRRecord() {}
Record
getObject() {
return new NSAP_PTRRecord();
}
/**
* Creates a new NSAP_PTR Record with the given data
* @param target The name of the host with this address
*/
public
NSAP_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 Name
getTarget() {
return getSingleName();
}
}
|