Uses of Interface
net.i2p.client.streaming.I2PSocketOptions
Package
Description
API, interfaces, and factory for a TCP-like (reliable, authenticated, in order) set of sockets for
communicating over the 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, both for clients and servers,
and a UI for adding more and editing the configuration.
SOCKS 4, 4a, and 5 client tunnels.
-
Uses of I2PSocketOptions in net.i2p.client.streaming
Modifier 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()
Modifier and TypeMethodDescriptionI2PSocketManager.connect
(Destination peer, I2PSocketOptions options) Create a new connected socket (block until the socket is created)void
I2PSocketManager.setDefaultOptions
(I2PSocketOptions options) Update the options on a running socket manager.void
I2PSocket.setOptions
(I2PSocketOptions options) Configure the socket -
Uses of I2PSocketOptions in net.i2p.client.streaming.impl
Modifier and TypeClassDescription(package private) class
Define the current options for the con (and allow custom tweaking midstream) TODO many of these are not per-connection options, and should be migrated somewhere so they aren't copied for every connection(package private) class
Define the configuration for streaming and verifying data on the socket.Modifier and TypeMethodDescriptionI2PSocketManagerFull.buildOptions()
Create a copy of the current options, to be used in a setDefaultOptions() call.I2PSocketManagerFull.buildOptions
(Properties opts) Create a modified copy of the current options, to be used in a setDefaultOptions() call.I2PSocketManagerFull.getDefaultOptions()
Current options, not a copy, setters may be used to make changes.I2PSocketFull.getOptions()
Modifier and TypeMethodDescriptionI2PSocketManagerFull.connect
(Destination peer, I2PSocketOptions options) Create a new connected socket.void
I2PSocketManagerFull.setDefaultOptions
(I2PSocketOptions options) Update the options on a running socket manager.void
I2PSocketFull.setOptions
(I2PSocketOptions options) ModifierConstructorDescriptionInitializes from System properties then copies over all options.Initializes from System properties then copies over all options. -
Uses of I2PSocketOptions in net.i2p.i2ptunnel
Modifier and TypeMethodDescriptionprotected I2PSocketOptions
I2PTunnelClientBase.getDefaultOptions()
Create the default options (using the default timeout, etc).protected I2PSocketOptions
I2PTunnelClientBase.getDefaultOptions
(Properties overrides) Create the default options (using the default timeout, etc).protected I2PSocketOptions
I2PTunnelConnectClient.getDefaultOptions()
Create the default options (using the default timeout, etc).protected I2PSocketOptions
I2PTunnelHTTPClient.getDefaultOptions()
Create the default options (using the default timeout, etc).protected I2PSocketOptions
I2PTunnelHTTPClient.getDefaultOptions
(Properties overrides) Create the default options (using the default timeout, etc).Modifier 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. -
Uses of I2PSocketOptions in net.i2p.i2ptunnel.socks
Modifier and TypeMethodDescriptionI2PSOCKSTunnel.buildOptions
(Properties overrides) Because getDefaultOptions() in super() is protectedSocketWrapper.getOptions()
Modifier and TypeMethodDescriptionvoid
SocketWrapper.setOptions
(I2PSocketOptions options) Does nothing