Package net.i2p.client
Interface LookupResult
- All Known Implementing Classes:
LkupResult
public interface LookupResult
The return value of I2PSession.lookupDest2()
- Since:
- 0.9.43
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
b33 requires per-client auth private key, the router has a key, but decryption failed; please supply a new key in a blinding info messagestatic final int
general failure, probably a local hostname lookup failure, or a b32 lookup timeoutstatic final int
b33 requires per-client auth private key but the router does not have it cached; please supply in a blinding info messagestatic final int
b33 requires a lookup password and per-client auth private key but the router does not have them cached; please supply in a blinding info messagestatic final int
b33 requires a lookup password but the router does not have it cached; please supply in a blinding info messagestatic final int
getDestination() will be non-null -
Method Summary
-
Field Details
-
RESULT_SUCCESS
static final int RESULT_SUCCESSgetDestination() will be non-null- See Also:
-
RESULT_FAILURE
static final int RESULT_FAILUREgeneral failure, probably a local hostname lookup failure, or a b32 lookup timeout- See Also:
-
RESULT_SECRET_REQUIRED
static final int RESULT_SECRET_REQUIREDb33 requires a lookup password but the router does not have it cached; please supply in a blinding info message- See Also:
-
RESULT_KEY_REQUIRED
static final int RESULT_KEY_REQUIREDb33 requires per-client auth private key but the router does not have it cached; please supply in a blinding info message- See Also:
-
RESULT_SECRET_AND_KEY_REQUIRED
static final int RESULT_SECRET_AND_KEY_REQUIREDb33 requires a lookup password and per-client auth private key but the router does not have them cached; please supply in a blinding info message- See Also:
-
RESULT_DECRYPTION_FAILURE
static final int RESULT_DECRYPTION_FAILUREb33 requires per-client auth private key, the router has a key, but decryption failed; please supply a new key in a blinding info message- See Also:
-
-
Method Details
-
getResultCode
int getResultCode()- Returns:
- zero for success, nonzero for failure
-
getDestination
Destination getDestination()- Returns:
- Destination on success, null on failure
-