Package com.biglybt.core.tracker.server
Class TRTrackerServerFactory
- java.lang.Object
-
- com.biglybt.core.tracker.server.TRTrackerServerFactory
-
public class TRTrackerServerFactory extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description TRTrackerServerFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
addListener(TRTrackerServerFactoryListener l)
static TRTrackerServer
create(int protocol, int port, boolean apply_ip_filter, boolean main_tracker)
static TRTrackerServer
create(java.lang.String name, int protocol, int port, boolean apply_ip_filter, boolean main_tracker)
static TRTrackerServer
create(java.lang.String name, int protocol, int port, boolean apply_ip_filter, boolean main_tracker, boolean start_up_ready)
static TRTrackerServer
create(java.lang.String name, int protocol, int port, java.net.InetAddress bind_ip, boolean apply_ip_filter, boolean main_tracker)
static TRTrackerServer
create(java.lang.String name, int protocol, int port, java.net.InetAddress bind_ip, boolean apply_ip_filter, boolean main_tracker, java.util.Map<java.lang.String,java.lang.Object> properties)
static TRTrackerServer
createSSL(int protocol, int port, boolean apply_ip_filter, boolean main_tracker)
static TRTrackerServer
createSSL(java.lang.String name, int protocol, int port, boolean apply_ip_filter, boolean main_tracker)
static TRTrackerServer
createSSL(java.lang.String name, int protocol, int port, boolean apply_ip_filter, boolean main_tracker, boolean startup_ready)
static TRTrackerServer
createSSL(java.lang.String name, int protocol, int port, java.net.InetAddress bind_ip, boolean apply_ip_filter, boolean main_tracker)
static TRTrackerServer
createSSL(java.lang.String name, int protocol, int port, java.net.InetAddress bind_ip, boolean apply_ip_filter, boolean main_tracker, java.util.Map<java.lang.String,java.lang.Object> properties)
static void
removeListener(TRTrackerServerFactoryListener l)
-
-
-
Field Detail
-
PR_TCP
public static final int PR_TCP
- See Also:
- Constant Field Values
-
PR_UDP
public static final int PR_UDP
- See Also:
- Constant Field Values
-
PR_DHT
public static final int PR_DHT
- See Also:
- Constant Field Values
-
-
Method Detail
-
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(java.lang.String name, int protocol, int port, boolean apply_ip_filter, boolean main_tracker) throws TRTrackerServerException
- Throws:
TRTrackerServerException
-
create
public static TRTrackerServer create(java.lang.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(java.lang.String name, int protocol, int port, boolean apply_ip_filter, boolean main_tracker) throws TRTrackerServerException
- Throws:
TRTrackerServerException
-
createSSL
public static TRTrackerServer createSSL(java.lang.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(java.lang.String name, int protocol, int port, java.net.InetAddress bind_ip, boolean apply_ip_filter, boolean main_tracker) throws TRTrackerServerException
- Throws:
TRTrackerServerException
-
createSSL
public static TRTrackerServer createSSL(java.lang.String name, int protocol, int port, java.net.InetAddress bind_ip, boolean apply_ip_filter, boolean main_tracker) throws TRTrackerServerException
- Throws:
TRTrackerServerException
-
create
public static TRTrackerServer create(java.lang.String name, int protocol, int port, java.net.InetAddress bind_ip, boolean apply_ip_filter, boolean main_tracker, java.util.Map<java.lang.String,java.lang.Object> properties) throws TRTrackerServerException
- Throws:
TRTrackerServerException
-
createSSL
public static TRTrackerServer createSSL(java.lang.String name, int protocol, int port, java.net.InetAddress bind_ip, boolean apply_ip_filter, boolean main_tracker, java.util.Map<java.lang.String,java.lang.Object> properties) throws TRTrackerServerException
- Throws:
TRTrackerServerException
-
addListener
public static void addListener(TRTrackerServerFactoryListener l)
-
removeListener
public static void removeListener(TRTrackerServerFactoryListener l)
-
-