Packages that use I2PSocketOptions
Package
Description
API, interfaces, and factory for a TCP-like (reliable, authenticated, in order) set of sockets for communicating over IP-like (unreliable, unauthenticated, unordered) I2P messages.
Implementation of a TCP-like (reliable, authenticated, in order) set of sockets for communicating over the IP-like (unreliable, unauthenticated, unordered) I2P messages.
Implementation of preconfigured tunnels for clients and servers, including special-purpose tunnels for IRC, SOCKS, HTTP and streaming.
SOCKS 4, 4a and 5 server implementations exposing I2P client tunnels to SOCKS clients.
The SAM bridge: a simple text protocol server letting applications in any language use I2P streaming and datagram sessions without implementing the Invisible Internet Client Protocol (I2CP).
Uses of I2PSocketOptions in net.i2p.client.streaming
Methods in net.i2p.client.streaming that return I2PSocketOptionsModifier and TypeMethodDescriptionI2PSocketManager.buildOptions()Create a copy of the current options, to be used in a setDefaultOptions() call.I2PSocketManager.buildOptions(Properties opts) Create a modified copy of the current options, to be used in a setDefaultOptions() call.I2PSocketManager.getDefaultOptions()Current options, not a copy, setters may be used to make changes.I2PSocket.getOptions()The options governing this socket's behaviour.Methods in net.i2p.client.streaming with parameters of type I2PSocketOptionsModifier and TypeMethodDescriptionI2PSocketManager.connect(Destination peer, I2PSocketOptions options) Create a new connected socket (block until the socket is created).voidI2PSocketManager.setDefaultOptions(I2PSocketOptions options) Update the options on a running socket manager.voidI2PSocket.setOptions(I2PSocketOptions options) Configure the socket.Uses of I2PSocketOptions in net.i2p.client.streaming.impl
Classes in net.i2p.client.streaming.impl that implement I2PSocketOptionsModifier and TypeClassDescription(package private) classDefine the current options for the con (and allow custom tweaking midstream).(package private) classDefine the configuration for streaming and verifying data on the socket.Methods in net.i2p.client.streaming.impl that return I2PSocketOptionsModifier and TypeMethodDescriptionI2PSocketManagerFull.buildOptions()Create a copy of the current options, to be used in aI2PSocketManagerFull.setDefaultOptions(I2PSocketOptions)call.I2PSocketManagerFull.buildOptions(Properties opts) Create a modified copy of the current options, to be used in a setDefaultOptions() call.I2PSocketManagerFull.getDefaultOptions()Returns the current default options.I2PSocketFull.getOptions()Socket options for this socket.Methods in net.i2p.client.streaming.impl with parameters of type I2PSocketOptionsModifier and TypeMethodDescriptionI2PSocketManagerFull.connect(Destination peer, I2PSocketOptions options) Create a new connected socket.private SocketI2PSocketManagerFull.connectToSocket(Destination peer, I2PSocketOptions options) Like connect() but returns a real Socket, and throws only IOE, for easier porting of apps.voidI2PSocketManagerFull.setDefaultOptions(I2PSession session, I2PSocketOptions options) Update the options on a running subsession.voidI2PSocketManagerFull.setDefaultOptions(I2PSocketOptions options) Update the options on a running socket manager.voidI2PSocketFull.setOptions(I2PSocketOptions options) New socket options.Constructors in net.i2p.client.streaming.impl with parameters of type I2PSocketOptionsModifierConstructorDescriptionCreate options as a copy of the given I2PSocketOptions, then apply system property defaults for streaming-specific fields.Initializes from System properties then copies over all options.Uses of I2PSocketOptions in net.i2p.i2ptunnel
Methods in net.i2p.i2ptunnel that return I2PSocketOptionsModifier and TypeMethodDescriptionprotected I2PSocketOptionsI2PTunnelClientBase.getDefaultOptions()Create the default options (using the default timeout, etc).protected I2PSocketOptionsI2PTunnelClientBase.getDefaultOptions(Properties overrides) Create the default options (using the default timeout, etc).protected I2PSocketOptionsI2PTunnelConnectClient.getDefaultOptions()Create the default options (using the default timeout, etc).protected I2PSocketOptionsI2PTunnelHTTPClient.getDefaultOptions()Create the default options (using the default timeout, etc).protected I2PSocketOptionsI2PTunnelHTTPClient.getDefaultOptions(Properties overrides) Create the default options (using the default timeout, etc).Methods in net.i2p.i2ptunnel with parameters of type I2PSocketOptionsModifier and TypeMethodDescriptionI2PTunnelClientBase.createI2PSocket(Destination dest, I2PSocketOptions opt) Create a new I2PSocket towards to the specified destination, adding it to the list of connections actually managed by this tunnel.(package private) I2PSocketI2PTunnelClientBase.createI2PSocket(Destination dest, I2PSocketOptions opt, long deadlineMs) Create a new I2PSocket bounded by a shared request deadline.private I2PSocketI2PTunnelClientBase.createI2PSocketWithFailover(Destination dest, I2PSocketOptions opt, long deadlineMs) Create a new I2PSocket with retry/failover across the session's tunnel pool.Uses of I2PSocketOptions in net.i2p.i2ptunnel.socks
Methods in net.i2p.i2ptunnel.socks that return I2PSocketOptionsModifier and TypeMethodDescriptionI2PSOCKSTunnel.buildOptions(Properties overrides) Build socket options from the tunnel config merged with overrides.SocketWrapper.getOptions()Returns no socket options, because the outproxy has already configured the wrapped TCP socket.Methods in net.i2p.i2ptunnel.socks with parameters of type I2PSocketOptionsModifier and TypeMethodDescriptionvoidSocketWrapper.setOptions(I2PSocketOptions options) Discards the options without applying them, because the outproxy has already configured the wrapped TCP socket.Uses of I2PSocketOptions in net.i2p.sam
Fields in net.i2p.sam declared as I2PSocketOptionsModifier and TypeFieldDescriptionprivate final I2PSocketOptionsSAMv2StreamSession.StreamConnector.optsThe socket options of the session.private final I2PSocketOptionsSAMv3StreamSession.ConnectTask.optsSocket options for the connect.Constructors in net.i2p.sam with parameters of type I2PSocketOptionsModifierConstructorDescription(package private)ConnectTask(SAMv3Handler handler, Destination dest, I2PSocketOptions opts, boolean verbose, String nick) Builds the connect task.StreamConnector(int id, Destination dest, I2PSocketOptions opts) Create a new SAM STREAM session socket reader.