send
public boolean send(NodeClientCore core,
RequestScheduler sched,
ClientContext context,
ChosenBlock req)
Do the request, blocking. Called by RequestStarter.
Also responsible for deleting it.
- Specified by:
send
in interface SendableRequestSender
sched
- The scheduler this request has just been grabbed from.
req
- The ChosenBlock containing the key, the SendableRequestItem,
and the methods to call to indicate success/failure.
- Returns:
- True if a request was executed. False if caller should try to find another request, and remove
this one from the queue.