|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use RouterAddress | |
---|---|
net.i2p.data.router | Classes formerly in net.i2p.data but moved here as they are only used by the router. |
net.i2p.router | The I2P router application handles the I2P network communication. |
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 RouterAddress in net.i2p.data.router |
---|
Methods in net.i2p.data.router that return RouterAddress | |
---|---|
RouterAddress |
RouterInfo.getTargetAddress(String transportStyle)
Pull the first workable target address for the given transport. |
Methods in net.i2p.data.router that return types with arguments of type RouterAddress | |
---|---|
Collection<RouterAddress> |
RouterInfo.getAddresses()
Retrieve the set of RouterAddress structures at which this router can be contacted. |
List<RouterAddress> |
RouterInfo.getTargetAddresses(String transportStyle)
For multiple addresses per-transport (IPv4 or IPv6) |
Methods in net.i2p.data.router with parameters of type RouterAddress | |
---|---|
boolean |
RouterAddress.deepEquals(RouterAddress addr)
Everything, including Transport, host, port, options, and cost |
Method parameters in net.i2p.data.router with type arguments of type RouterAddress | |
---|---|
void |
RouterInfo.setAddresses(Collection<RouterAddress> addresses)
Specify a set of RouterAddress structures at which this router can be contacted. |
Uses of RouterAddress in net.i2p.router |
---|
Methods in net.i2p.router that return types with arguments of type RouterAddress | |
---|---|
List<RouterAddress> |
CommSystemFacade.createAddresses()
Create the list of RouterAddress structures based on the router's config |
Methods in net.i2p.router with parameters of type RouterAddress | |
---|---|
void |
CommSystemFacade.notifyRemoveAddress(RouterAddress address)
Tell other transports our address changed |
void |
CommSystemFacade.notifyReplaceAddress(RouterAddress address)
Tell other transports our address changed |
Uses of RouterAddress in net.i2p.router.transport |
---|
Fields in net.i2p.router.transport with type parameters of type RouterAddress | |
---|---|
protected List<RouterAddress> |
TransportImpl._currentAddresses
|
Methods in net.i2p.router.transport that return RouterAddress | |
---|---|
RouterAddress |
TransportImpl.getCurrentAddress(boolean ipv6)
What address are we currently listening to? Replaces getCurrentAddress() |
Methods in net.i2p.router.transport that return types with arguments of type RouterAddress | |
---|---|
List<RouterAddress> |
CommSystemFacadeImpl.createAddresses()
|
List<RouterAddress> |
TransportManager.getAddresses()
This forces a rebuild |
List<RouterAddress> |
TransportImpl.getCurrentAddresses()
What addresses are we currently listening to? Replaces getCurrentAddress() |
List<RouterAddress> |
Transport.getCurrentAddresses()
What addresses are we currently listening to? Replaces getCurrentAddress() |
protected List<RouterAddress> |
TransportImpl.getTargetAddresses(RouterInfo target)
Get all available address we can use, shuffled and then sorted by cost/preference. |
List<RouterAddress> |
TransportImpl.updateAddress()
Ask the transport to update its address based on current information and return it Transports should override. |
List<RouterAddress> |
Transport.updateAddress()
Ask the transport to update its addresses based on current information and return them |
Methods in net.i2p.router.transport with parameters of type RouterAddress | |
---|---|
static boolean |
TransportUtil.isIPv6(RouterAddress addr)
Addresses without a host (i.e. |
void |
CommSystemFacadeImpl.notifyRemoveAddress(RouterAddress address)
Tell other transports our address changed |
void |
CommSystemFacadeImpl.notifyReplaceAddress(RouterAddress udpAddr)
UDP changed addresses, tell NTCP and restart All the work moved to NTCPTransport.externalAddressReceived() |
protected void |
TransportImpl.removeAddress(RouterAddress address)
Remove only this address. |
protected void |
TransportImpl.replaceAddress(RouterAddress address)
Replace any existing addresses for the current transport with the same IP length (4 or 16) with the given one. |
Uses of RouterAddress in net.i2p.router.transport.ntcp |
---|
Methods in net.i2p.router.transport.ntcp that return RouterAddress | |
---|---|
RouterAddress |
NTCPConnection.getRemoteAddress()
Only valid for outbound; null for inbound |
Constructors in net.i2p.router.transport.ntcp with parameters of type RouterAddress | |
---|---|
NTCPConnection(RouterContext ctx,
NTCPTransport transport,
RouterIdentity remotePeer,
RouterAddress remAddr)
Create an outbound unconnected NTCP connection |
Uses of RouterAddress in net.i2p.router.transport.udp |
---|
Methods in net.i2p.router.transport.udp that return RouterAddress | |
---|---|
(package private) RouterAddress |
UDPTransport.getTargetAddress(RouterInfo target)
Get first available address we can use. |
Methods in net.i2p.router.transport.udp that return types with arguments of type RouterAddress | |
---|---|
List<RouterAddress> |
UDPTransport.updateAddress()
Rebuild to get updated cost and introducers. |
Methods in net.i2p.router.transport.udp with parameters of type RouterAddress | |
---|---|
protected void |
UDPTransport.removeAddress(RouterAddress address)
Remove then tell NTCP that we changed. |
protected void |
UDPTransport.replaceAddress(RouterAddress address)
Replace then tell NTCP that we changed. |
Constructors in net.i2p.router.transport.udp with parameters of type RouterAddress | |
---|---|
UDPAddress(RouterAddress addr)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |