net.i2p.i2ptunnel.udp

## Interface Source

- All Known Implementing Classes:
    I2PSource, I2PTunnelUDPClientBase, I2PTunnelUDPServerBase, MultiSink, MultiSource, Pinger, SOCKSUDPPort, SOCKSUDPTunnel, SOCKSUDPUnwrapper, SOCKSUDPWrapper, StreamrConsumer, StreamrProducer, UDPSource

      public interface Source

  Source interface for streaming data sources.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `setSink(Sink sink)` Sets the sink for received data.
    `void` | `start()` Starts the source.

- - ### Method Detail

    - #### setSink

          void setSink(Sink sink)

      Sets the sink for received data.
      Parameters:
        `sink` - the sink to receive data

    - #### start

          void start()

      Starts the source.