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
Modifier and TypeMethodDescriptionvoidsend(Destination src, int fromPort, int toPort, byte[] data)  
- 
Method Details
- 
send
- Parameters:
 src- some implementations may ignore, may be null in some implementationsfromPort- I2CP source port, 0-65535toPort- I2CP destination port, 0-65535- Throws:
 RuntimeException- in some implementations- Since:
 - 0.9.53 added fromPort and toPort parameters, breaking change, sorry
 
 
 -