Class NatCheckerServer
- java.lang.Object
-
- java.lang.Thread
-
- com.biglybt.core.util.AEThread
-
- com.biglybt.core.ipchecker.natchecker.NatCheckerServer
-
- All Implemented Interfaces:
java.lang.Runnable
public class NatCheckerServer extends AEThread
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
bContinue
private java.net.InetAddress
bind_ip
private boolean
bind_ip_set
private java.lang.String
check
private boolean
http_test
private static java.lang.String
incoming_handshake
(package private) static LogIDs
LOGID
private NetworkManager.ByteMatcher
matcher
private java.net.ServerSocket
server
private boolean
use_incoming_router
-
Constructor Summary
Constructors Constructor Description NatCheckerServer(java.net.InetAddress _bind_ip, int _port, java.lang.String _check, boolean _http_test)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.nio.ByteBuffer
getMessage()
void
runSupport()
void
stopIt()
-
Methods inherited from class com.biglybt.core.util.AEThread
isOurThread, run, setOurThread, setOurThread
-
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
-
-
-
Field Detail
-
LOGID
static final LogIDs LOGID
-
incoming_handshake
private static final java.lang.String incoming_handshake
- See Also:
- Constant Field Values
-
bind_ip
private final java.net.InetAddress bind_ip
-
bind_ip_set
private boolean bind_ip_set
-
check
private final java.lang.String check
-
http_test
private final boolean http_test
-
server
private java.net.ServerSocket server
-
bContinue
private volatile boolean bContinue
-
use_incoming_router
private final boolean use_incoming_router
-
matcher
private NetworkManager.ByteMatcher matcher
-
-
Method Detail
-
getMessage
protected java.nio.ByteBuffer getMessage() throws java.io.IOException
- Throws:
java.io.IOException
-
runSupport
public void runSupport()
- Specified by:
runSupport
in classAEThread
-
stopIt
public void stopIt()
-
-