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

- Packages that use Sink
  Package | Description
  --- | ---
  net.i2p.i2ptunnel.socks |
  net.i2p.i2ptunnel.streamr |
  net.i2p.i2ptunnel.udp |
  net.i2p.i2ptunnel.udpTunnel |

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

    Classes in net.i2p.i2ptunnel.socks that implement Sink
    Modifier and Type | Class and Description
    --- | ---
    `class` | `MultiSink` Sends to one of many Sinks
    `class` | `ReplyTracker` Track who the reply goes to
    `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 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` | SOCKSUDPUnwrapper.`setSink(Sink sink)`
    `void` | SOCKSUDPPort.`setSink(Sink sink)`
    `void` | MultiSink.`setSink(Sink sink)` Don't use this - put sinks in the cache
    `void` | SOCKSUDPWrapper.`setSink(Sink sink)`
    `void` | ReplyTracker.`setSink(Sink sink)`

    Constructors in net.i2p.i2ptunnel.socks with parameters of type Sink
    Constructor and Description
    `ReplyTracker(Sink reply, Map 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` Sends to many Sinks
    `class` | `StreamrConsumer` Compared to a standard I2PTunnel, this acts like a client on the I2P side (no privkey file) but a server on the UDP side (sends to a configured host/port)
    `class` | `StreamrProducer` Compared to a standard I2PTunnel, this acts like a server on the I2P side (persistent privkey file) but a client on the UDP side (receives on a configured port)
    `class` | `Subscriber` server-mode

    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)`
    `void` | Pinger.`setSink(Sink sink)`

  - ### 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`

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

    Methods in net.i2p.i2ptunnel.udp with parameters of type Sink
    Modifier and Type | Method and Description
    --- | ---
    `void` | Source.`setSink(Sink sink)`
    `void` | UDPSource.`setSink(Sink sink)`
    `void` | I2PSource.`setSink(Sink sink)`

  - ### 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` | I2PTunnelUDPServerBase.`setSink(Sink s)` Source Methods Sets the receiver of the UDP datagrams from I2P Subclass must call this after constructor and before start()
    `void` | I2PTunnelUDPClientBase.`setSink(Sink s)` Source Methods Sets the receiver of the UDP datagrams from I2P Subclass must call this after constructor and before start()