Class TRTrackerServerNATChecker
java.lang.Object
com.biglybt.core.tracker.server.impl.TRTrackerServerNATChecker
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Listprotected static final intprotected final AEMonitorprotected final AESemaphoreprotected static intprotected booleanprivate static final LogIDsprotected static final TRTrackerServerNATCheckerprotected final AEMonitorprotected ThreadPoolprotected static final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanaddNATCheckRequest(String host, int port, TRTrackerServerNatCheckerListener listener) protected voidcheckConfig(String enable_param, String timeout_param) protected static TRTrackerServerNATCheckerprotected 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)
-