Package | Description |
---|---|
net.i2p.client.streaming |
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.
|
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.access |
These classes are the implementation of a definition-based
incoming connection filter.
|
Modifier and Type | Interface and Description |
---|---|
interface |
StatefulConnectionFilter
A ConnectionFilter that may hold state, can be started and stopped
|
Modifier and Type | Field and Description |
---|---|
static IncomingConnectionFilter |
IncomingConnectionFilter.ALLOW
Utility implementation that allows all incoming connections
|
static IncomingConnectionFilter |
IncomingConnectionFilter.DENY
Utility implementation that denies all incoming connections
|
Modifier and Type | Method and Description |
---|---|
static I2PSocketManager |
I2PSocketManagerFactory.createDisconnectedManager(InputStream myPrivateKeyStream,
String i2cpHost,
int i2cpPort,
Properties opts,
IncomingConnectionFilter filter)
Create a disconnected socket manager using the destination loaded from the given private key
stream, or null for a transient destination.
|
static I2PSocketManager |
I2PSocketManagerFactory.createManager(IncomingConnectionFilter filter)
Create a socket manager using a brand new destination connected to the
I2CP router on the local machine on the default port (7654) with the
specified incoming connection filter.
|
static I2PSocketManager |
I2PSocketManagerFactory.createManager(InputStream myPrivateKeyStream,
IncomingConnectionFilter filter)
Create a socket manager using the destination loaded from the given private key
stream and connected to the default I2CP host and port with the specified connection filter
Blocks for a long time while the router builds tunnels.
|
static I2PSocketManager |
I2PSocketManagerFactory.createManager(InputStream myPrivateKeyStream,
Properties opts,
IncomingConnectionFilter filter)
Create a socket manager using the destination loaded from the given private key
stream and connected to the default I2CP host and port.
|
static I2PSocketManager |
I2PSocketManagerFactory.createManager(InputStream myPrivateKeyStream,
String i2cpHost,
int i2cpPort,
Properties opts,
IncomingConnectionFilter filter)
Create a socket manager using the destination loaded from the given private key
stream and connected to the I2CP router on the specified machine on the given
port.
|
static I2PSocketManager |
I2PSocketManagerFactory.createManager(Properties opts,
IncomingConnectionFilter filter)
Create a socket manager using a brand new destination connected to the
I2CP router on the local machine on the default port (7654).
|
static I2PSocketManager |
I2PSocketManagerFactory.createManager(String host,
int port,
IncomingConnectionFilter filter)
Create a socket manager using a brand new destination connected to the
I2CP router on the specified host and port with the specified connection filter
Blocks for a long time while the router builds tunnels.
|
static I2PSocketManager |
I2PSocketManagerFactory.createManager(String i2cpHost,
int i2cpPort,
Properties opts,
IncomingConnectionFilter filter)
Create a socket manager using a brand new destination connected to the
I2CP router on the given machine reachable through the given port with
the specified connection filter
Blocks for a long time while the router builds tunnels.
|
Constructor and Description |
---|
ConnectionManager(I2PAppContext context,
I2PSession session,
ConnectionOptions defaultOptions,
IncomingConnectionFilter connectionFilter)
Manage all conns for this session
|
I2PSocketManagerFull(I2PAppContext context,
I2PSession session,
Properties opts,
String name,
IncomingConnectionFilter connectionFilter)
This is what I2PSocketManagerFactory.createManager() returns.
|
Modifier and Type | Class and Description |
---|---|
(package private) class |
AccessFilter
A filter for incoming connections which can be configured
based on access list rules.
|