Package net.i2p.i2ptunnel.udp
Interface Sink
-
- All Known Implementing Classes:
I2PSink
,I2PSinkAnywhere
,I2PTunnelUDPClientBase
,I2PTunnelUDPServerBase
,MultiSink
,MultiSource
,SOCKSUDPPort
,SOCKSUDPTunnel
,SOCKSUDPUnwrapper
,SOCKSUDPWrapper
,StreamrConsumer
,StreamrProducer
,Subscriber
,UDPSink
public interface Sink
- Author:
- welterde
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
send(Destination src, int fromPort, int toPort, byte[] data)
-
-
-
Method Detail
-
send
void send(Destination src, int fromPort, int toPort, byte[] data)
- Parameters:
fromPort
- I2CP source port, 0-65535toPort
- I2CP destination port, 0-65535src
- some implementations may ignore, may be null in some implementations- Throws:
RuntimeException
- in some implementations- Since:
- 0.9.53 added fromPort and toPort parameters, breaking change, sorry
-
-