@Override public short getPriorityClass() { return cb.getPriority(); }
@Override protected void onEnterFiniteCooldown(ClientContext context) { cb.onEnterFiniteCooldown(context); }
@Override public void onSuccess(ClientKeyBlock block, boolean fromStore, Object token, ClientContext context) { // No need to check from here since USKFetcher will be told anyway. cb.onSuccess((ClientSSKBlock)block, context); }
cb.onCancelled(context); return; }else if(e.code == LowLevelGetException.DECODE_FAILED){ cb.onFatalAuthorError(context); return; cb.onDNF(context); else cb.onNetworkError(context);
@Override protected void notFoundInStore(ClientContext context) { // Ran out of retries. unregisterAll(context); // Rest are non-fatal. If have DNFs, DNF, else network error. cb.onDNF(context); }