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

📄 rtrecord.java

📁 linux下建立JAVA虚拟机的源码KAFFE
💻 JAVA
字号:
// Copyright (c) 2004 Brian Wellington (bwelling@xbill.org)package org.xbill.DNS;/** * Route Through Record - lists a route preference and intermediate host. * * @author Brian Wellington */public class RTRecord extends U16NameBase {RTRecord() {}RecordgetObject() {	return new RTRecord();}/** * Creates an RT Record from the given data * @param preference The preference of the route.  Smaller numbers indicate * more preferred routes. * @param intermediateHost The domain name of the host to use as a router. */publicRTRecord(Name name, int dclass, long ttl, int preference,	 Name intermediateHost){	super(name, Type.RT, dclass, ttl, preference, "preference",	      intermediateHost, "intermediateHost");}/** Gets the preference of the route. */public intgetPreference() {	return getU16Field();}/** Gets the host to use as a router. */public NamegetIntermediateHost() {	return getNameField();}}

⌨️ 快捷键说明

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