Class DHTUDPPacketHandlerFactory
java.lang.Object
com.biglybt.core.dht.transport.udp.impl.packethandler.DHTUDPPacketHandlerFactory
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
destroy
(DHTUDPPacketHandler handler) static DHTUDPPacketHandler
getHandler
(DHTTransportUDPImpl transport, DHTUDPRequestHandler request_handler) protected DHTUDPPacketHandler
getHandlerSupport
(DHTTransportUDPImpl transport, DHTUDPRequestHandler request_handler) getTransport
(int port, int network) protected void
process
(int port, DHTUDPPacketRequest request)
-
Field Details
-
singleton
-
port_map
-
this_mon
-
-
Constructor Details
-
DHTUDPPacketHandlerFactory
public DHTUDPPacketHandlerFactory()
-
-
Method Details
-
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
-
process
-
getTransport
- Throws:
IOException
-