| 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.
|