| Package | Description |
|---|---|
| net.i2p.router.transport |
Transport layer implementations and management for I2P network communication.
|
| net.i2p.router.transport.ntcp |
The NTCP (New TCP) transport for I2P, allowing I2P messages to be passed
over TCP connections.
|
| net.i2p.router.transport.udp |
The UDP transport (also known as 'SSU' or Secure Semi-reliable UDP transport)
for I2P, allowing I2P messages to be passed over UDP connections.
|
| Modifier and Type | Method and Description |
|---|---|
static Transport.AddressSource |
Transport.AddressSource.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Transport.AddressSource[] |
Transport.AddressSource.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
TransportImpl.externalAddressReceived(Transport.AddressSource source,
byte[] ip,
int port)
Notify a transport of an external address change.
|
void |
Transport.externalAddressReceived(Transport.AddressSource source,
byte[] ip,
int port)
Notify transport of an external address change event.
|
(package private) void |
TransportManager.externalAddressReceived(Transport.AddressSource source,
byte[] ip,
int port)
Initialize from interfaces, and callback from UPnP or SSU.
|
void |
TransportImpl.externalAddressRemoved(Transport.AddressSource source,
boolean ipv6)
Notify a transport of an external address change.
|
void |
Transport.externalAddressRemoved(Transport.AddressSource source,
boolean ipv6)
Notify a transport of an external address change.
|
(package private) void |
TransportManager.externalAddressRemoved(Transport.AddressSource source,
boolean ipv6)
Remove all ipv4 or ipv6 addresses.
|
| Modifier and Type | Method and Description |
|---|---|
void |
NTCPTransport.externalAddressReceived(Transport.AddressSource source,
byte[] ip,
int port)
UDP changed addresses, tell NTCP and (possibly) restart
|
void |
NTCPTransport.externalAddressRemoved(Transport.AddressSource source,
boolean ipv6)
Notify a transport of an external address change.
|
| Modifier and Type | Method and Description |
|---|---|
void |
UDPTransport.externalAddressReceived(Transport.AddressSource source,
byte[] ip,
int port)
From config, UPnP, local i/f, ...
|