@Override
 public void onFailure(int reason) {
   Logger.getInstance().log(TAG, "discovery error");
 }
 @Override
 public void onSuccess() {
   Logger.getInstance().log(TAG, "discovery success");
 }