⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mxrecord.java

📁 linux下建立JAVA虚拟机的源码KAFFE
💻 JAVA
字号:
// Copyright (c) 1999-2004 Brian Wellington (bwelling@xbill.org)package org.xbill.DNS;/** * Mail Exchange - specifies where mail to a domain is sent * * @author Brian Wellington */public class MXRecord extends U16NameBase {MXRecord() {}RecordgetObject() {	return new MXRecord();}/** * Creates an MX Record from the given data * @param priority The priority of this MX.  Records with lower priority * are preferred. * @param target The host that mail is sent to */publicMXRecord(Name name, int dclass, long ttl, int priority, Name target) {	super(name, Type.MX, dclass, ttl, priority, "priority",	      target, "target");}/** Returns the target of the MX record */public NamegetTarget() {	return getNameField();}/** Returns the priority of this MX record */public intgetPriority() {	return getU16Field();}voidrrToWire(DNSOutput out, Compression c, boolean canonical) {	out.writeU16(u16Field);	nameField.toWire(out, c, canonical);}public NamegetAdditionalName() {	return getNameField();}}

⌨️ 快捷键说明

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