public class LkupResult extends Object implements LookupResult
RESULT_DECRYPTION_FAILURE, RESULT_DEFERRED, RESULT_FAILURE, RESULT_KEY_REQUIRED, RESULT_SECRET_AND_KEY_REQUIRED, RESULT_SECRET_REQUIRED, RESULT_SUCCESS| Constructor and Description |
|---|
LkupResult(int nonce)Deferred. |
LkupResult(int code,
Destination dest)Lkup result |
LkupResult(int code,
Destination dest,
int nonce)Full constructor. |
| Modifier and Type | Method and Description |
|---|---|
Destination | getDestination()Destination on success, null on failure. |
int | getNonce()For async calls only. |
int | getResultCode()Zero for success, nonzero for failure. |
LkupResult(int nonce)
nonce - the nonceLkupResult(int code,
Destination dest)LkupResult(int code,
Destination dest,
int nonce)code - result codedest - destinationnonce - the noncepublic Destination getDestination()
getDestination in interface LookupResultpublic int getNonce()
getNonce in interface LookupResultpublic int getResultCode()
getResultCode in interface LookupResult