getRetryDelay method

int getRetryDelay()

Inquiry method that gets the minimum time to wait before trying a new connection to the Server in case the previous one failed for any reason, which is also the maximum time to wait for a response to a request before dropping the connection and trying with a different approach.

Note that the delay is calculated from the moment the effort to create a connection is made, not from the moment the failure is detected or the connection timeout expires.

Returns The time (in milliseconds) to wait before trying a new connection.

Implementation

external int getRetryDelay();