Listener interface for BlackBerry Dynamics name service lookup results. More...
The result of a BlackBerry Dynamics name service lookup is handled by creating a class that implements this interface.
For details of the BlackBerry Dynamics name service lookup programming interface, see the nslookup reference documentation.
Public Member Functions | |
void | onNslookupResponseSuccess (final JSONObject nslookupResponseJSON) |
Successful name service lookup callback. More... | |
void | onNslookupResponseFailure (GDNetUtilityErr errCode) |
Failed name service lookup callback. More... | |
void onNslookupResponseSuccess | ( | final JSONObject | nslookupResponseJSON | ) |
This callback will be invoked when a name service lookup has succeeded.
nslookupResponseJSON | JSONObject containing the results requested, either a CNAME or an A record. |
void onNslookupResponseFailure | ( | GDNetUtilityErr | errCode | ) |
This callback will be invoked when a name service lookup has failed.
errCode | Numeric error code for the failure that occurred. |