lpr-b:namequery
Questa è una vecchia versione del documento!
<code java> package nslookup;
import java.io.Serializable;
/ this is the class used to model requests to the name server * * @author marcod * */ public class NameQuery implements Serializable { / will host the name of the queryed host */
String hostName = null;
/** true if we accept an answer from cache */
boolean cached = false;
public NameQuery(String h, boolean b) {
hostName = h;
cached = b;
}
public String toString() { return hostName; }
public String getHostname() { return hostName; }
public boolean getCached() { return cached; }
}
<code>
lpr-b/namequery.1194979752.txt.gz · Ultima modifica: 13/11/2007 alle 18:49 (18 anni fa) da Marco Danelutto
