org.gudy.azureus2.core3.ipchecker.natchecker
Class NatCheckerServer

java.lang.Object
  extended by java.lang.Thread
      extended by org.gudy.azureus2.core3.util.AEThread
          extended by org.gudy.azureus2.core3.ipchecker.natchecker.NatCheckerServer
All Implemented Interfaces:
Runnable

public class NatCheckerServer
extends AEThread


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
NatCheckerServer(InetAddress _bind_ip, int _port, String _check, boolean _http_test)
           
 
Method Summary
protected  ByteBuffer getMessage()
           
 void runSupport()
           
 void stopIt()
           
 
Methods inherited from class org.gudy.azureus2.core3.util.AEThread
isOurThread, run, setOurThread, setOurThread
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, 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, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NatCheckerServer

public NatCheckerServer(InetAddress _bind_ip,
                        int _port,
                        String _check,
                        boolean _http_test)
                 throws Exception
Throws:
Exception
Method Detail

getMessage

protected ByteBuffer getMessage()
                         throws IOException
Throws:
IOException

runSupport

public void runSupport()
Specified by:
runSupport in class AEThread

stopIt

public void stopIt()