|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.i2p.router.transport.udp.UDPSender
class UDPSender
Lowest level packet sender, pushes anything on its queue ASAP.
| Constructor Summary | |
|---|---|
UDPSender(RouterContext ctx,
DatagramSocket socket,
String name)
|
|
| Method Summary | |
|---|---|
void |
add(UDPPacket packet)
Put it on the queue. |
void |
add(UDPPacket packet,
int blockTime)
Deprecated. use add(packet) |
void |
clear()
Clear outbound queue, probably in preparation for sending destroy() to everybody. |
void |
shutdown()
|
void |
startup()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UDPSender(RouterContext ctx,
DatagramSocket socket,
String name)
| Method Detail |
|---|
public void startup()
public void shutdown()
public void clear()
public void add(UDPPacket packet,
int blockTime)
blockTime - how long to block IGNOREDpublic void add(UDPPacket packet)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||