com.aelitis.azureus.core.dht.transport.udp.impl.packethandler
Class DHTUDPPacketHandlerFactory

java.lang.Object
  extended by com.aelitis.azureus.core.dht.transport.udp.impl.packethandler.DHTUDPPacketHandlerFactory

public class DHTUDPPacketHandlerFactory
extends Object


Field Summary
protected  AEMonitor this_mon
           
 
Constructor Summary
DHTUDPPacketHandlerFactory()
           
 
Method Summary
protected  void destroy(DHTUDPPacketHandler handler)
           
static DHTUDPPacketHandler getHandler(DHTTransportUDPImpl transport, DHTUDPRequestHandler request_handler)
           
protected  DHTUDPPacketHandler getHandlerSupport(DHTTransportUDPImpl transport, DHTUDPRequestHandler request_handler)
           
 DHTTransportUDPImpl getTransport(int port, int network)
           
protected  void process(int port, DHTUDPPacketRequest request)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

this_mon

protected final AEMonitor this_mon
Constructor Detail

DHTUDPPacketHandlerFactory

public DHTUDPPacketHandlerFactory()
Method Detail

getHandler

public static DHTUDPPacketHandler getHandler(DHTTransportUDPImpl transport,
                                             DHTUDPRequestHandler request_handler)
                                      throws DHTUDPPacketHandlerException
Throws:
DHTUDPPacketHandlerException

getHandlerSupport

protected DHTUDPPacketHandler getHandlerSupport(DHTTransportUDPImpl transport,
                                                DHTUDPRequestHandler request_handler)
                                         throws DHTUDPPacketHandlerException
Throws:
DHTUDPPacketHandlerException

destroy

protected void destroy(DHTUDPPacketHandler handler)

process

protected void process(int port,
                       DHTUDPPacketRequest request)

getTransport

public DHTTransportUDPImpl getTransport(int port,
                                        int network)
                                 throws IOException
Throws:
IOException