Uses of Class
net.i2p.router.transport.Transport.AddressSource
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.
|
-
Uses of Transport.AddressSource in net.i2p.router.transport
Methods in net.i2p.router.transport that return Transport.AddressSource Modifier and Type Method 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.Methods in net.i2p.router.transport with parameters of type Transport.AddressSource Modifier and Type Method Description void
Transport. externalAddressReceived(Transport.AddressSource source, byte[] ip, int port)
Notify a transport of an external address change.abstract void
TransportImpl. externalAddressReceived(Transport.AddressSource source, byte[] ip, int port)
Notify a transport of an external address change.(package private) void
TransportManager. externalAddressReceived(Transport.AddressSource source, byte[] ip, int port)
Initialize from interfaces, and callback from UPnP or SSU.void
Transport. externalAddressRemoved(Transport.AddressSource source, boolean ipv6)
Notify a transport of an external address change.void
TransportImpl. 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. -
Uses of Transport.AddressSource in net.i2p.router.transport.ntcp
Methods in net.i2p.router.transport.ntcp with parameters of type Transport.AddressSource Modifier and Type Method Description void
NTCPTransport. externalAddressReceived(Transport.AddressSource source, byte[] ip, int port)
UDP changed addresses, tell NTCP and (possibly) restartvoid
NTCPTransport. externalAddressRemoved(Transport.AddressSource source, boolean ipv6)
Notify a transport of an external address change. -
Uses of Transport.AddressSource in net.i2p.router.transport.udp
Methods in net.i2p.router.transport.udp with parameters of type Transport.AddressSource Modifier and Type Method Description void
UDPTransport. externalAddressReceived(Transport.AddressSource source, byte[] ip, int port)
From config, UPnP, local i/f, ...