maxSendAttempts property

int maxSendAttempts
getter/setter pair

When sending requests and responses, sometimes network is down, the socket connection is broken, or so on, and a retry is required. sendRequest and sendResponse will try to send the notification up to maxSendAttempts times before giving up, pausing for 200 milliseconds before its first retry, 1 second before its second retry and 5 seconds before its third (and every subsequent) retry. The default value of 4 means a total maximum of 4 attempts - i.e. a first attempt and 3 retries

Implementation

int maxSendAttempts = 4;