## Uses of Interface
net.i2p.i2ptunnel.udp.Sink

- Packages that use Sink
  Package | Description
  --- | ---
  net.i2p.i2ptunnel.socks | SOCKS protocol tunnel implementation for I2P, supporting SOCKS 4, 4a, and 5.
  net.i2p.i2ptunnel.streamr | Special-purpose tunnels for streaming UDP clients and servers, optimized for audio and video streaming applications.
  net.i2p.i2ptunnel.udp | Core API and interfaces used by UDP tunnel implementations.
  net.i2p.i2ptunnel.udpTunnel | UDP tunnel implementation for I2PTunnel.

- - ### Uses of Sink in net.i2p.i2ptunnel.socks

    Classes in net.i2p.i2ptunnel.socks with type parameters of type Sink
    Modifier and Type | Class and Description
    --- | ---
    `class` | `MultiSink<S extends Sink>` Sends to one of many Sinks based on toPort

    Classes in net.i2p.i2ptunnel.socks that implement Sink
    Modifier and Type | Class and Description
    --- | ---
    `class` | `MultiSink<S extends Sink>` Sends to one of many Sinks based on toPort
    `class` | `SOCKSUDPPort` Implements a UDP port and Socks encapsulation / decapsulation.
    `class` | `SOCKSUDPTunnel` A Datagram Tunnel that can have multiple bidirectional ports on the UDP side.
    `class` | `SOCKSUDPUnwrapper` Strip a SOCKS header off a datagram, convert it to a Destination and port Ref: RFC 1928
    `class` | `SOCKSUDPWrapper` Put a SOCKS header on a datagram Ref: RFC 1928

    Methods in net.i2p.i2ptunnel.socks with parameters of type Sink
    Modifier and Type | Method and Description
    --- | ---
    `void` | SOCKSUDPPort.`setSink(Sink sink)` Sets the sink for incoming UDP datagrams from I2P.
    `void` | SOCKSUDPWrapper.`setSink(Sink sink)` Sets the sink for outgoing wrapped UDP datagrams.
    `void` | SOCKSUDPUnwrapper.`setSink(Sink sink)` Sets the sink for outgoing unwrapped UDP datagrams.
    `void` | MultiSink.`setSink(Sink sink)` Don't use this - put sinks in the cache

  - ### Uses of Sink in net.i2p.i2ptunnel.streamr

    Classes in net.i2p.i2ptunnel.streamr that implement Sink
    Modifier and Type | Class and Description
    --- | ---
    `class` | `MultiSource` Multi-source data distributor that forwards data to multiple sink destinations
    `class` | `StreamrConsumer` Streamr consumer that acts as an I2P client and UDP server, receiving data from I2P destinations and forwarding it to a configured UDP host/port
    `class` | `StreamrProducer` Streamr producer that acts as an I2P server and UDP client, receiving UDP data on a configured port and forwarding it through I2P
    `class` | `Subscriber` Server-mode subscriber that manages multiple data sources and handles incoming connections

    Fields in net.i2p.i2ptunnel.streamr declared as Sink
    Modifier and Type | Field and Description
    --- | ---
    `protected Sink` | Pinger.`sink`

    Methods in net.i2p.i2ptunnel.streamr with parameters of type Sink
    Modifier and Type | Method and Description
    --- | ---
    `void` | MultiSource.`setSink(Sink sink)` Sets the destination sink for all outgoing data.
    `void` | Pinger.`setSink(Sink sink)` Sets the destination sink for ping messages.

  - ### Uses of Sink in net.i2p.i2ptunnel.udp

    Classes in net.i2p.i2ptunnel.udp that implement Sink
    Modifier and Type | Class and Description
    --- | ---
    `class` | `I2PSink` Producer This sends to a fixed destination specified in the constructor
    `class` | `I2PSinkAnywhere` Producer This sends to any destination specified in send()
    `class` | `UDPSink` UDP sink implementation for streaming data.

    Fields in net.i2p.i2ptunnel.udp declared as Sink
    Modifier and Type | Field and Description
    --- | ---
    `protected Sink` | I2PSource.`sink`
    `protected Sink` | UDPSource.`sink`

    Methods in net.i2p.i2ptunnel.udp with parameters of type Sink
    Modifier and Type | Method and Description
    --- | ---
    `void` | Source.`setSink(Sink sink)` Sets the sink for received data.
    `void` | I2PSource.`setSink(Sink sink)` Sets the sink for received I2P datagrams.
    `void` | UDPSource.`setSink(Sink sink)` Sets the sink for received UDP datagrams.

  - ### Uses of Sink in net.i2p.i2ptunnel.udpTunnel

    Classes in net.i2p.i2ptunnel.udpTunnel that implement Sink
    Modifier and Type | Class and Description
    --- | ---
    `class` | `I2PTunnelUDPClientBase` Base client class that sets up an I2P Datagram client destination.
    `class` | `I2PTunnelUDPServerBase` Base client class that sets up an I2P Datagram server destination.

    Methods in net.i2p.i2ptunnel.udpTunnel with parameters of type Sink
    Modifier and Type | Method and Description
    --- | ---
    `void` | I2PTunnelUDPClientBase.`setSink(Sink s)` Sets the receiver of the UDP datagrams from I2P.
    `void` | I2PTunnelUDPServerBase.`setSink(Sink s)` Sets the receiver of the UDP datagrams from I2P.