void prepareSending()

Source

void prepareSending() {
  if (_sendingAfterAck) {
    return;
  }
  if (_waitingAckCount > ConnectionProcessor.ACK_WAIT_COUNT) {
    _sendingAfterAck = true;
    return;
  }
  if (responder.connection == null) {
    // don't pend send, when requester is offline
    return;
  }
  if (!_pendingSending) {
    _pendingSending = true;
    responder.addProcessor(this);
  }
}