Packages that use Sink
Package
Description
SOCKS 4, 4a and 5 server implementations exposing I2P client tunnels to SOCKS clients.
StreamR adaptive-rate streaming tunnel: streams audio and video over a single I2P tunnel, adapting the encoder rate to the measured tunnel bandwidth.
Datagram plumbing for UDP tunnels: sinks and sources that bridge a local UDP socket and an I2P stream, framing each datagram onto the stream and back.
Base classes for UDP client and server tunnels, mapping a local UDP port to an I2P tunnel through the sinks and sources in
net.i2p.i2ptunnel.udp.Uses of Sink in net.i2p.i2ptunnel.socks
Classes in net.i2p.i2ptunnel.socks with type parameters of type SinkModifier and TypeClassDescriptionclassSends to one of many Sinks based on toPort.Classes in net.i2p.i2ptunnel.socks that implement SinkModifier and TypeClassDescriptionclassSends to one of many Sinks based on toPort.classImplements a UDP port and Socks encapsulation / decapsulation.classA Datagram Tunnel that can have multiple bidirectional ports on the UDP side.classStrip a SOCKS header off a datagram, convert it to a Destination and port Ref: RFC 1928.classPut a SOCKS header on a datagram Ref: RFC 1928.Fields in net.i2p.i2ptunnel.socks declared as SinkModifier and TypeFieldDescriptionprivate SinkSOCKSUDPUnwrapper.sinkWhere the unwrapped datagram is passed on.private SinkSOCKSUDPWrapper.sinkWhere the wrapped datagram is sent.Methods in net.i2p.i2ptunnel.socks with parameters of type SinkModifier and TypeMethodDescriptionvoidDon't use this - put sinks in the cache.voidSets the sink for incoming UDP datagrams from I2P.voidSets the sink for outgoing unwrapped UDP datagrams.voidSets the sink for outgoing wrapped UDP datagrams.Uses of Sink in net.i2p.i2ptunnel.streamr
Classes in net.i2p.i2ptunnel.streamr that implement SinkModifier and TypeClassDescriptionclassMulti-source data distributor that forwards data to multiple sink destinations.classStreamr consumer that acts as an I2P client and UDP server, receiving data from I2P destinations and forwarding it to a configured UDP host/port.classStreamr producer that acts as an I2P server and UDP client, receiving UDP data on a configured port and forwarding it through I2P.classServer-mode subscriber that manages multiple data sources and handles incoming connections.Fields in net.i2p.i2ptunnel.streamr declared as SinkModifier and TypeFieldDescriptionprivate SinkMultiSource.sinkWhere the incoming data is sent.protected SinkPinger.sinkThe destination that carries the ping messages.Methods in net.i2p.i2ptunnel.streamr with parameters of type SinkUses of Sink in net.i2p.i2ptunnel.udp
Classes in net.i2p.i2ptunnel.udp that implement SinkModifier and TypeClassDescriptionclassI2P sink implementation that sends datagrams to a fixed destination specified in the constructor.classI2P sink implementation that sends datagrams to any destination specified in eachI2PSinkAnywhere.send(Destination, byte[])call, rather than a fixed destination.classUDP sink implementation for streaming data.Fields in net.i2p.i2ptunnel.udp declared as SinkModifier and TypeFieldDescriptionprotected SinkI2PSource.sinkThe sink to receive datagrams.protected SinkUDPSource.sinkThe consumer each received datagram is passed to.Methods in net.i2p.i2ptunnel.udp with parameters of type SinkUses of Sink in net.i2p.i2ptunnel.udpTunnel
Classes in net.i2p.i2ptunnel.udpTunnel that implement SinkModifier and TypeClassDescriptionclassBase client class that sets up an I2P Datagram client destination.classBase client class that sets up an I2P Datagram server destination.Fields in net.i2p.i2ptunnel.udpTunnel declared as SinkModifier and TypeFieldDescriptionprivate final SinkI2PTunnelUDPClientBase._i2pSinkSends datagrams out over I2P.private SinkI2PTunnelUDPServerBase._i2pSinkSends datagrams out over I2P.Methods in net.i2p.i2ptunnel.udpTunnel with parameters of type Sink