com.aelitis.azureus.core.networkmanager
Class ProtocolEndpointFactory

java.lang.Object
  extended by com.aelitis.azureus.core.networkmanager.ProtocolEndpointFactory

public class ProtocolEndpointFactory
extends Object


Constructor Summary
ProtocolEndpointFactory()
           
 
Method Summary
static ProtocolEndpoint createEndpoint(int type, ConnectionEndpoint connection_endpoint, InetSocketAddress target)
           
static ProtocolEndpoint createEndpoint(int type, InetSocketAddress target)
           
static boolean isHandlerRegistered(int type)
           
static void registerHandler(ProtocolEndpointHandler handler)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProtocolEndpointFactory

public ProtocolEndpointFactory()
Method Detail

registerHandler

public static void registerHandler(ProtocolEndpointHandler handler)

isHandlerRegistered

public static boolean isHandlerRegistered(int type)

createEndpoint

public static ProtocolEndpoint createEndpoint(int type,
                                              InetSocketAddress target)

createEndpoint

public static ProtocolEndpoint createEndpoint(int type,
                                              ConnectionEndpoint connection_endpoint,
                                              InetSocketAddress target)