public class LookupDest extends Object
Modifier | Constructor and Description |
---|---|
protected |
LookupDest(I2PAppContext context) |
Modifier and Type | Method and Description |
---|---|
(package private) static Destination |
lookupBase32Hash(I2PAppContext ctx,
String key) |
(package private) static Destination |
lookupHostname(I2PAppContext ctx,
String hostname)
Any hostname, but this is for long-format b32
|
static void |
main(String[] args)
Supports hostnames and extended b32.
|
protected LookupDest(I2PAppContext context)
static Destination lookupBase32Hash(I2PAppContext ctx, String key) throws I2PSessionException
key
- 52 chars (do not include the .b32.i2p suffix)I2PSessionException
static Destination lookupHostname(I2PAppContext ctx, String hostname) throws I2PSessionException
hostname
- a "b33" hostname, 64+ chars ending with ".b32.i2p"I2PSessionException
public static void main(String[] args)