Packages that use Transport.AddressSource
Package
Description
Transport framework: the transport lifecycle and pool management, connection handling and bandwidth throttling for the transports (NTCP2 over TCP, SSU over UDP) that carry I2P messages between routers, plus NAT traversal via UPnP and GeoIP country lookups.
NTCP2, the TCP transport: framed, ratchet-encrypted and mutually authenticated connections between routers.
SSU2, the UDP transport: datagram sessions with Holepunch peer discovery, plus the older SSU compatibility code.
Uses of Transport.AddressSource in net.i2p.router.transport
Subclasses with type arguments of type Transport.AddressSource in net.i2p.router.transportModifier and TypeClassDescriptionstatic enumSource of transport address configuration.Methods in net.i2p.router.transport that return Transport.AddressSourceModifier and TypeMethodDescriptionstatic Transport.AddressSourceReturns the enum constant of this class with the specified name.static Transport.AddressSource[]Transport.AddressSource.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in net.i2p.router.transport with parameters of type Transport.AddressSourceModifier and TypeMethodDescriptionvoidTransport.externalAddressReceived(Transport.AddressSource source, byte[] ip, int port) Notify transport of an external address change event.abstract voidTransportImpl.externalAddressReceived(Transport.AddressSource source, byte[] ip, int port) Notify a transport of an external address change.(package private) voidTransportManager.externalAddressReceived(Transport.AddressSource source, byte[] ip, int port) Initialize from interfaces, and callback from UPnP or SSU.voidTransport.externalAddressRemoved(Transport.AddressSource source, boolean ipv6) Notify a transport of an external address change.voidTransportImpl.externalAddressRemoved(Transport.AddressSource source, boolean ipv6) Notify a transport of an external address change.(package private) voidTransportManager.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.AddressSourceModifier and TypeMethodDescriptionvoidNTCPTransport.externalAddressReceived(Transport.AddressSource source, byte[] ip, int port) UDP changed addresses, tell NTCP and (possibly) restart.voidNTCPTransport.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.AddressSourceModifier and TypeMethodDescriptionvoidUDPTransport.externalAddressReceived(Transport.AddressSource source, byte[] ip, int port) From config, UPnP, local i/f, ...