Java程序  |  30行  |  532 B

// Copyright (c) 1999-2004 Brian Wellington (bwelling@xbill.org)

package org.xbill.DNS;

/**
 * The Name Server Identifier Option, define in RFC 5001.
 *
 * @see OPTRecord
 * 
 * @author Brian Wellington
 */
public class NSIDOption extends GenericEDNSOption {

private static final long serialVersionUID = 74739759292589056L;

NSIDOption() {
	super(EDNSOption.Code.NSID);
}

/**
 * Construct an NSID option.
 * @param data The contents of the option.
 */
public 
NSIDOption(byte [] data) {
	super(EDNSOption.Code.NSID, data);
}

}