Packages that use LimitOutputStream.DoneCallback
Package
Description
Implementation of preconfigured tunnels for clients and servers, including special-purpose tunnels for IRC, SOCKS, HTTP and streaming.
IRC tunnel support: DCC and CTCP handling for IRC clients using a client tunnel.
Shared helpers for the tunnel implementations, including HTTP header processing.
Uses of LimitOutputStream.DoneCallback in net.i2p.i2ptunnel
Classes in net.i2p.i2ptunnel that implement LimitOutputStream.DoneCallbackModifier and TypeClassDescriptionclassHTTP client runner that filters response headers to enforce the "Connection: close" header, ensuring browsers treat the connection as non-persistent, even if the server doesn't comply.classThread that forwards traffic between an I2PSocket and a TCP Socket.Fields in net.i2p.i2ptunnel declared as LimitOutputStream.DoneCallbackModifier and TypeFieldDescriptionprivate final LimitOutputStream.DoneCallbackHTTPResponseOutputStream._callbackCallback invoked when the stream finishes.Constructors in net.i2p.i2ptunnel with parameters of type LimitOutputStream.DoneCallbackModifierConstructorDescriptionHTTPResponseOutputStream(OutputStream raw, boolean allowKeepAliveIn, boolean allowKeepAliveOut, boolean isHead, LimitOutputStream.DoneCallback cb) Optionally keep sockets alive and call callback when we're done.privateOptionally call callback when we're done.Uses of LimitOutputStream.DoneCallback in net.i2p.i2ptunnel.irc
Classes in net.i2p.i2ptunnel.irc that implement LimitOutputStream.DoneCallbackModifier and TypeClassDescriptionprivate classJust so we can do the callbacks.Uses of LimitOutputStream.DoneCallback in net.i2p.i2ptunnel.util
Fields in net.i2p.i2ptunnel.util declared as LimitOutputStream.DoneCallbackModifier and TypeFieldDescriptionprivate final LimitOutputStream.DoneCallbackGunzipOutputStream._callbackCallback run when the stream completes.protected final LimitOutputStream.DoneCallbackLimitOutputStream._callbackInvoked once byLimitOutputStream.setDone()when the subclass has finished writing.Constructors in net.i2p.i2ptunnel.util with parameters of type LimitOutputStream.DoneCallbackModifierConstructorDescriptionByteLimitOutputStream(OutputStream out, LimitOutputStream.DoneCallback done, long limit) Creates a new byte-limited output stream.DechunkedOutputStream(OutputStream raw, LimitOutputStream.DoneCallback callback, boolean strip) Creates a new dechunked output stream.GunzipOutputStream(OutputStream uncompressedStream, LimitOutputStream.DoneCallback cb) With a callback when done.Creates a limiting stream wrapping the given target stream.