| Package | Description |
|---|---|
| net.i2p.i2ptunnel.udp | Core API and interfaces used by UDP tunnel implementations. |
| Modifier and Type | Method and Description |
|---|---|
static I2PSource.Protocol | I2PSource.Protocol.valueOf(String name)Returns the enum constant of this type with the specified name. |
static I2PSource.Protocol[] | I2PSource.Protocol.values()Returns an array containing the constants of this enum type, in
the order they are declared. |
| Constructor and Description |
|---|
I2PSource(I2PSession sess,
I2PSource.Protocol protocol)Creates a source listening on all I2CP ports for the specified protocol. |
I2PSource(I2PSession sess,
I2PSource.Protocol protocol,
int port)Creates a source listening on the specified port for the specified protocol. |