org.gudy.azureus2.core3.tracker.server
Class TRTrackerServerFactory

java.lang.Object
  extended by org.gudy.azureus2.core3.tracker.server.TRTrackerServerFactory

public class TRTrackerServerFactory
extends Object


Field Summary
static int PR_DHT
           
static int PR_TCP
           
static int PR_UDP
           
 
Constructor Summary
TRTrackerServerFactory()
           
 
Method Summary
static void addListener(TRTrackerServerFactoryListener l)
           
static TRTrackerServer create(int protocol, int port, boolean apply_ip_filter, boolean main_tracker)
           
static TRTrackerServer create(String name, int protocol, int port, boolean apply_ip_filter, boolean main_tracker)
           
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 createSSL(String name, int protocol, int port, boolean apply_ip_filter, boolean main_tracker)
           
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 removeListener(TRTrackerServerFactoryListener l)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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
Constructor Detail

TRTrackerServerFactory

public TRTrackerServerFactory()
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(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

public static void addListener(TRTrackerServerFactoryListener l)

removeListener

public static void removeListener(TRTrackerServerFactoryListener l)