Package net.i2p.i2ptunnel.udp
Class UDPSource
java.lang.Object
net.i2p.i2ptunnel.udp.UDPSource
public class UDPSource extends Object implements Source, Runnable
- Author:
- welterde
-
Field Summary
-
Constructor Summary
Constructors Constructor Description UDPSource(int port)
UDPSource(DatagramSocket sock)
use socket from UDPSink -
Method Summary
-
Field Details
-
MAX_SIZE
public static final int MAX_SIZE- See Also:
- Constant Field Values
-
sock
-
sink
-
thread
-
-
Constructor Details
-
UDPSource
public UDPSource(int port)- Throws:
RuntimeException
- on DatagramSocket IOException
-
UDPSource
use socket from UDPSink
-
-
Method Details