shouldReconnect abstract method

bool shouldReconnect(
  1. int attemptNumber,
  2. int maxAttempts
)

Determines if reconnection should be attempted.

Implementation

bool shouldReconnect(int attemptNumber, int maxAttempts);