disconnectOnNoResponsePeriod property

int disconnectOnNoResponsePeriod
getter/setter pair

The period of time to wait if the broker does not respond to a ping request, in milliseconds. If this time period is exceeded the client is forcibly disconnected. The default is 0, which disables this functionality.

Implementation

int disconnectOnNoResponsePeriod = 0;