Package com.biglybt.core.tracker.server
Class TRTrackerServerFactory
java.lang.Object
com.biglybt.core.tracker.server.TRTrackerServerFactory
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
static TRTrackerServer
create
(int protocol, int port, boolean apply_ip_filter, boolean main_tracker) static TRTrackerServer
static TRTrackerServer
create
(String name, int protocol, int port, boolean apply_ip_filter, boolean main_tracker, boolean start_up_ready) static TRTrackerServer
create
(String name, int protocol, int port, InetAddress bind_ip, boolean apply_ip_filter, boolean main_tracker) static TRTrackerServer
create
(String name, int protocol, int port, InetAddress bind_ip, boolean apply_ip_filter, boolean main_tracker, Map<String, Object> properties) static TRTrackerServer
createSSL
(int protocol, int port, boolean apply_ip_filter, boolean main_tracker) static TRTrackerServer
static TRTrackerServer
createSSL
(String name, int protocol, int port, boolean apply_ip_filter, boolean main_tracker, boolean startup_ready) static TRTrackerServer
createSSL
(String name, int protocol, int port, InetAddress bind_ip, boolean apply_ip_filter, boolean main_tracker) static TRTrackerServer
createSSL
(String name, int protocol, int port, InetAddress bind_ip, boolean apply_ip_filter, boolean main_tracker, Map<String, Object> properties) static void
-
Field Details
-
PR_TCP
public static final int PR_TCP- See Also:
-
PR_UDP
public static final int PR_UDP- See Also:
-
PR_DHT
public static final int PR_DHT- See Also:
-
-
Constructor Details
-
TRTrackerServerFactory
public TRTrackerServerFactory()
-
-
Method Details
-
create
public static TRTrackerServer create(int protocol, int port, boolean apply_ip_filter, boolean main_tracker) throws TRTrackerServerException - Throws:
TRTrackerServerException
-
createSSL
public static TRTrackerServer createSSL(int protocol, int port, boolean apply_ip_filter, boolean main_tracker) throws TRTrackerServerException - Throws:
TRTrackerServerException
-
create
public static TRTrackerServer create(String name, int protocol, int port, boolean apply_ip_filter, boolean main_tracker) throws TRTrackerServerException - Throws:
TRTrackerServerException
-
create
public static TRTrackerServer create(String name, int protocol, int port, boolean apply_ip_filter, boolean main_tracker, boolean start_up_ready) throws TRTrackerServerException - Throws:
TRTrackerServerException
-
createSSL
public static TRTrackerServer createSSL(String name, int protocol, int port, boolean apply_ip_filter, boolean main_tracker) throws TRTrackerServerException - Throws:
TRTrackerServerException
-
createSSL
public static TRTrackerServer createSSL(String name, int protocol, int port, boolean apply_ip_filter, boolean main_tracker, boolean startup_ready) throws TRTrackerServerException - Throws:
TRTrackerServerException
-
create
public static TRTrackerServer create(String name, int protocol, int port, InetAddress bind_ip, boolean apply_ip_filter, boolean main_tracker) throws TRTrackerServerException - Throws:
TRTrackerServerException
-
createSSL
public static TRTrackerServer createSSL(String name, int protocol, int port, InetAddress bind_ip, boolean apply_ip_filter, boolean main_tracker) throws TRTrackerServerException - Throws:
TRTrackerServerException
-
create
public static TRTrackerServer create(String name, int protocol, int port, InetAddress bind_ip, boolean apply_ip_filter, boolean main_tracker, Map<String, Object> properties) throws TRTrackerServerException- Throws:
TRTrackerServerException
-
createSSL
public static TRTrackerServer createSSL(String name, int protocol, int port, InetAddress bind_ip, boolean apply_ip_filter, boolean main_tracker, Map<String, Object> properties) throws TRTrackerServerException- Throws:
TRTrackerServerException
-
addListener
-
removeListener
-