| Package | Description |
|---|---|
| net.i2p.router.transport | Transport layer implementations and management for I2P network communication. |
| net.i2p.util | Core utility classes and helper functions used throughout the I2P 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?
Use getConnectedAddressTypes() to get all types at once for better performance. |