Class TRTrackerServerUDP
java.lang.Object
com.biglybt.core.tracker.server.impl.TRTrackerServerImpl
com.biglybt.core.tracker.server.impl.udp.TRTrackerServerUDP
- All Implemented Interfaces:
TRTrackerServer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate InetAddressprivate DatagramSocketprivate static final LogIDsprivate final intprivate final ThreadPoolprivate static final intFields inherited from class TRTrackerServerImpl
all_networks_permitted, announce_cache_period, announce_cache_threshold, banned_clients, CLIENT_TIMEOUT_MULTIPLIER, full_scrape_enable, listeners, listeners2, max_peers_to_send, max_seed_retention, permitted_networks, redirect_on_not_found, restrict_non_blocking_requests, RETRY_MINIMUM_MILLIS, RETRY_MINIMUM_SECS, scrape_cache_period, seed_limit, send_peer_ids, support_experimental_extensions, this_mon, TIMEOUT_CHECKFields inherited from interface TRTrackerServer
DEFAULT_ANNOUNCE_CACHE_PEER_THRESHOLD, DEFAULT_ANNOUNCE_CACHE_PERIOD, DEFAULT_INC_BY, DEFAULT_INC_PER, DEFAULT_MAX_RETRY_DELAY, DEFAULT_MIN_RETRY_DELAY, DEFAULT_NAME, DEFAULT_NAT_CHECK_SECS, DEFAULT_SCRAPE_CACHE_PERIOD, DEFAULT_SCRAPE_RETRY_PERCENTAGE, DEFAULT_TRACKER_PORT, DEFAULT_TRACKER_PORT_SSL -
Constructor Summary
ConstructorsConstructorDescriptionTRTrackerServerUDP(String _name, int _port, boolean _apply_ip_filter, boolean _start_up_ready, Map<String, Object> _properties) -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected voidgetHost()intgetPort()booleanisSSL()protected voidrecvLoop(DatagramSocket socket, InetSocketAddress address) voidMethods inherited from class TRTrackerServerImpl
addAuthenticationListener, addLink, addListener, addListener2, close, deny, destroySupport, getAllNetworksSupported, getAnnounceCachePeerThreshold, getAnnounceCachePeriod, getAnnounceRetryInterval, getBiasedPeers, getMaxPeersToSend, getMaxSeedRetention, getMinAnnounceRetryInterval, getMinScrapeRetryInterval, getName, getPassword, getPeers, getPermittedNetworks, getScrapeCachePeriod, getScrapeRetryInterval, getSeedAnnounceIntervalMultiplier, getSeedLimit, getSendPeerIds, getStats, getStats, getTorrent, getTorrent, getTorrentCount, getTorrents, getUsername, hasExternalAuthorisation, hasInternalAuthorisation, isCompactEnabled, isEnabled, isFullScrapeEnabled, isIPFiltered, isKeepAliveEnabled, isKeyEnabled, isKnownTorrent, isReady, isTrackerPasswordEnabled, isWebPasswordEnabled, isWebPasswordHTTPSOnly, performExternalAuthorisation, performExternalAuthorisation, permit, permit, postProcess, preProcess, readConfig, readConfigSettings, removeAuthenticationListener, removeLink, removeListener, removeListener2, setBiasedPeers, setEnabled, setEnableKeepAlive, setReady, supportsExtensions, timerLoop, updateStats, updateTime
-
Field Details
-
LOGID
-
THREAD_POOL_SIZE
private static final int THREAD_POOL_SIZE- See Also:
-
thread_pool
-
port
private final int port -
current_bind_ip
-
dg_socket
-
closed
private volatile boolean closed
-
-
Constructor Details
-
TRTrackerServerUDP
-
-
Method Details
-
getBindIP
-
recvLoop
-
getPort
public int getPort() -
getHost
-
isSSL
public boolean isSSL() -
addRequestListener
- Specified by:
addRequestListenerin interfaceTRTrackerServer- Overrides:
addRequestListenerin classTRTrackerServerImpl
-
removeRequestListener
- Specified by:
removeRequestListenerin interfaceTRTrackerServer- Overrides:
removeRequestListenerin classTRTrackerServerImpl
-
closeSupport
protected void closeSupport()- Specified by:
closeSupportin classTRTrackerServerImpl
-