Package net.i2p.router.transport.udp
Class PacketPusher
- java.lang.Object
-
- net.i2p.router.transport.udp.PacketPusher
-
-
Constructor Summary
Constructors Constructor Description PacketPusher(RouterContext ctx, OutboundMessageFragments fragments, List<UDPEndpoint> endpoints)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidrun()voidsend(UDPPacket packet)This sends it directly out, bypassing OutboundMessageFragments and the PacketPusher.voidshutdown()voidstartup()
-
-
-
Constructor Detail
-
PacketPusher
public PacketPusher(RouterContext ctx, OutboundMessageFragments fragments, List<UDPEndpoint> endpoints)
-
-
Method Detail
-
startup
public void startup()
-
shutdown
public void shutdown()
-
send
public void send(UDPPacket packet)
This sends it directly out, bypassing OutboundMessageFragments and the PacketPusher. The only queueing is for the bandwidth limiter. BLOCKING if OB queue is full.- Parameters:
packet- non-null- Since:
- IPv6
-
-