disconnectOnNoResponsePeriod property

int disconnectOnNoResponsePeriod
getter/setter pair

The period of time to wait if the broker does not respond to a ping request from keep alive processing, in seconds. If this time period is exceeded the client is forcibly disconnected. The default is 0, which disables this functionality. Thi setting has no effect if keep alive is disabled.

Implementation

int disconnectOnNoResponsePeriod = 0;