Package | Description |
---|---|
net.i2p.router.transport |
The transport system allows the usage of communication layers that are below I2P in the stack, on which I2P messages are sent.
|
net.i2p.router.transport.ntcp |
The NTCP transport allows passing I2P messages on top of TCP.
|
net.i2p.router.transport.udp |
The UDP transport (also known as 'SSU transport') allows passing I2P messages on top of UDP.
|
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 |
---|---|
void |
Transport.externalAddressReceived(Transport.AddressSource source,
byte[] ip,
int port)
Notify a transport of an external address change.
|
void |
TransportManager.externalAddressReceived(Transport.AddressSource source,
byte[] ip,
int port)
Initialize from interfaces, and callback from UPnP or SSU.
|
abstract void |
TransportImpl.externalAddressReceived(Transport.AddressSource source,
byte[] ip,
int port)
Notify a transport of an external address change.
|
void |
Transport.externalAddressRemoved(Transport.AddressSource source,
boolean ipv6)
Notify a transport of an external address change.
|
void |
TransportManager.externalAddressRemoved(Transport.AddressSource source,
boolean ipv6)
Remove all ipv4 or ipv6 addresses.
|
void |
TransportImpl.externalAddressRemoved(Transport.AddressSource source,
boolean ipv6)
Notify a transport of an external address change.
|
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, ...
|