Strumenti Utente

Strumenti Sito


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: da Marco Danelutto

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki