Class TRTrackerServerNATChecker
java.lang.Object
com.biglybt.core.tracker.server.impl.TRTrackerServerNATChecker
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final List
protected static final int
protected final AEMonitor
protected final AESemaphore
protected static int
protected boolean
private static final LogIDs
protected static final TRTrackerServerNATChecker
protected final AEMonitor
protected ThreadPool
protected static final int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
addNATCheckRequest
(String host, int port, TRTrackerServerNatCheckerListener listener) protected void
checkConfig
(String enable_param, String timeout_param) protected static TRTrackerServerNATChecker
protected boolean
-
Field Details
-
LOGID
-
singleton
-
THREAD_POOL_SIZE
protected static final int THREAD_POOL_SIZE- See Also:
-
CHECK_QUEUE_LIMIT
protected static final int CHECK_QUEUE_LIMIT- See Also:
-
check_timeout
protected static int check_timeout -
enabled
protected boolean enabled -
thread_pool
-
check_queue
-
check_queue_sem
-
check_queue_mon
-
this_mon
-
-
Constructor Details
-
TRTrackerServerNATChecker
protected TRTrackerServerNATChecker()
-
-
Method Details
-
getSingleton
-
isEnabled
protected boolean isEnabled() -
checkConfig
-
addNATCheckRequest
protected boolean addNATCheckRequest(String host, int port, TRTrackerServerNatCheckerListener listener)
-