Package net.i2p.i2ptunnel.udp
Class UDPSource
- java.lang.Object
-
- net.i2p.i2ptunnel.udp.UDPSource
-
-
Constructor Summary
Constructors Constructor Description UDPSource(int port)
UDPSource(DatagramSocket sock)
use socket from UDPSink
-
-
-
Field Detail
-
MAX_SIZE
public static final int MAX_SIZE
- See Also:
- Constant Field Values
-
sock
protected final DatagramSocket sock
-
sink
protected Sink sink
-
thread
protected final Thread thread
-
-
Constructor Detail
-
UDPSource
public UDPSource(int port)
- Throws:
RuntimeException
- on DatagramSocket IOException
-
UDPSource
public UDPSource(DatagramSocket sock)
use socket from UDPSink
-
-