public interface RequestSenderListener
Modifier and Type | Method and Description |
---|---|
void |
onAbortDownstreamTransfers(int reason,
java.lang.String desc)
Abort downstream transfers (not necessarily upstream ones, so not via the PRB).
|
void |
onCHKTransferBegins()
Should return quickly, allocate a thread if it needs to block etc
|
void |
onDataFoundLocally()
Not called by RequestSender, but called if the data was in the store.
|
void |
onNotStarted(boolean internalError)
Not called by RequestSender, but called if localOnly is true and the data
is not in the store.
|
void |
onReceivedRejectOverload()
Should return quickly, allocate a thread if it needs to block etc
|
void |
onRequestSenderFinished(int status,
boolean fromOfferedKey,
RequestSender rs)
Should return quickly, allocate a thread if it needs to block etc
|
void onReceivedRejectOverload()
void onCHKTransferBegins()
void onRequestSenderFinished(int status, boolean fromOfferedKey, RequestSender rs)
void onAbortDownstreamTransfers(int reason, java.lang.String desc)
void onNotStarted(boolean internalError)
internalError
- If true, something broke severely.void onDataFoundLocally()