lpr-b:namequery
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; } }
lpr-b/namequery.txt · Ultima modifica: 13/11/2007 alle 18:52 (18 anni fa) da Marco Danelutto