Class NatCheckerServer
java.lang.Object
java.lang.Thread
com.biglybt.core.util.AEThread
com.biglybt.core.ipchecker.natchecker.NatCheckerServer
- All Implemented Interfaces:
Runnable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.Builder, Thread.State, Thread.UncaughtExceptionHandler
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate boolean
private final InetAddress
private boolean
private final String
private final boolean
private static final String
(package private) static final LogIDs
private NetworkManager.ByteMatcher
private ServerSocket
private final boolean
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
-
Constructor Summary
ConstructorsConstructorDescriptionNatCheckerServer
(InetAddress _bind_ip, int _port, String _check, boolean _http_test) -
Method Summary
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, isVirtual, join, join, join, join, ofPlatform, ofVirtual, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, sleep, start, startVirtualThread, stop, suspend, threadId, toString, yield
-
Field Details
-
LOGID
-
incoming_handshake
- See Also:
-
bind_ip
-
bind_ip_set
private boolean bind_ip_set -
check
-
http_test
private final boolean http_test -
server
-
bContinue
private volatile boolean bContinue -
use_incoming_router
private final boolean use_incoming_router -
matcher
-
-
Constructor Details
-
NatCheckerServer
public NatCheckerServer(InetAddress _bind_ip, int _port, String _check, boolean _http_test) throws Exception - Throws:
Exception
-
-
Method Details
-
getMessage
- Throws:
IOException
-
runSupport
public void runSupport()- Specified by:
runSupport
in classAEThread
-
stopIt
public void stopIt()
-