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.util |
These classes define the several useful utilities used
throughout the router and applications.
|
Modifier and Type | Method and Description |
---|---|
static AddressType |
TransportUtil.getType(byte[] ip) |
static AddressType |
TransportUtil.getType(RouterAddress addr) |
static AddressType |
TransportUtil.getType(String host) |
Modifier and Type | Method and Description |
---|---|
static AddressType |
AddressType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AddressType[] |
AddressType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static Set<AddressType> |
Addresses.getConnectedAddressTypes()
Efficiently get all connected address types in one pass.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
Addresses.isConnected(AddressType type)
Do we have any address of this type?
Warning, very slow on Windows, appx.
|