| Package | Description |
|---|---|
| net.i2p.client.streaming | 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. |
| net.i2p.client.streaming.impl | Implementation of a TCP-like (reliable, authenticated, in order) set of sockets for communicating over the IP-like (unreliable, unauthenticated, unordered) I2P messages. |
| net.i2p.i2ptunnel | Implementation of preconfigured tunnels for both clients and servers, with a comprehensive UI for tunnel management and configuration. |
| net.i2p.i2ptunnel.socks | SOCKS protocol tunnel implementation for I2P, supporting SOCKS 4, 4a, and 5. |
| Modifier and Type | Method and Description |
|---|---|
I2PSocketOptions | I2PSocketManager.buildOptions()Create a copy of the current options, to be used in a setDefaultOptions() call. |
I2PSocketOptions | I2PSocketManager.buildOptions(Properties opts)Create a modified copy of the current options, to be used in a setDefaultOptions() call. |
I2PSocketOptions | I2PSocketManager.getDefaultOptions()Current options, not a copy, setters may be used to make changes. |
I2PSocketOptions | I2PSocket.getOptions()Returns the socket's configuration. |
| Modifier and Type | Method and Description |
|---|---|
I2PSocket | I2PSocketManager.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 |
| Modifier and Type | Class and Description |
|---|---|
(package private) class | ConnectionOptionsDefine the current options for the con (and allow custom tweaking midstream). |
(package private) class | I2PSocketOptionsImplDefine the configuration for streaming and verifying data on the socket. |
| Modifier and Type | Method and Description |
|---|---|
I2PSocketOptions | I2PSocketManagerFull.buildOptions()Create a copy of the current options, to be used in a setDefaultOptions() call. |
I2PSocketOptions | I2PSocketManagerFull.buildOptions(Properties opts)Create a modified copy of the current options, to be used in a setDefaultOptions() call. |
I2PSocketOptions | I2PSocketManagerFull.getDefaultOptions()Current options, not a copy, setters may be used to make changes. |
I2PSocketOptions | I2PSocketFull.getOptions() |
| Modifier and Type | Method and Description |
|---|---|
I2PSocket | I2PSocketManagerFull.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) |
| Constructor and Description |
|---|
ConnectionOptions(I2PSocketOptions opts)Create options as a copy of the given I2PSocketOptions,
then apply system property defaults for streaming-specific fields |
I2PSocketOptionsImpl(I2PSocketOptions opts)Initializes from System properties then copies over all options. |
| Modifier and Type | Method and Description |
|---|---|
protected I2PSocketOptions | I2PTunnelClientBase.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 | I2PTunnelConnectClient.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 | I2PTunnelHTTPClient.getDefaultOptions(Properties overrides)Create the default options (using the default timeout, etc). |
| Modifier and Type | Method and Description |
|---|---|
I2PSocket | I2PTunnelClientBase.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. |
| Modifier and Type | Method and Description |
|---|---|
I2PSocketOptions | I2PSOCKSTunnel.buildOptions(Properties overrides)Build socket options from the tunnel config merged with overrides. |
I2PSocketOptions | SocketWrapper.getOptions() |
| Modifier and Type | Method and Description |
|---|---|
void | SocketWrapper.setOptions(I2PSocketOptions options)Does nothing |