info.informatica.net
Class RevDNSThread

java.lang.Object
  extended by java.lang.Thread
      extended by info.informatica.net.RevDNSThread
All Implemented Interfaces:
Runnable

public class RevDNSThread
extends Thread

Reverse DNS resolver running its own Thread.

Version:
1.00, agosto 1999
Author:
amengual at informatica dot info

Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
RevDNSThread(ResolverListener hl)
           
RevDNSThread(ResolverListener hl, String s)
           
 
Method Summary
 void add(String addr)
           
static boolean contains(String addr)
           
static boolean isEmpty()
           
static String lookupRevDns(String ip)
           
 void parar()
           
 void run()
           
 void start()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RevDNSThread

public RevDNSThread(ResolverListener hl)
             throws IOException
Throws:
IOException

RevDNSThread

public RevDNSThread(ResolverListener hl,
                    String s)
             throws IOException,
                    MapperException
Throws:
IOException
MapperException
Method Detail

add

public void add(String addr)

contains

public static boolean contains(String addr)

isEmpty

public static boolean isEmpty()

start

public void start()
Overrides:
start in class Thread

run

public void run()
Specified by:
run in interface Runnable
Overrides:
run in class Thread

parar

public final void parar()

lookupRevDns

public static final String lookupRevDns(String ip)