ClientNotConnectedToBrokerException
extends DataTransferException
in package
Exception to be thrown if an MQTT client is not connected to a broker and tries to perform an action which requires a connection (e.g. publish or subscribe).
Table of Contents
- EXCEPTION_CONNECTION_LOST = 0300
- EXCEPTION_RX_DATA = 0102
- EXCEPTION_TX_DATA = 0101
- __construct() : mixed
- ClientNotConnectedToBrokerException constructor.
Constants
EXCEPTION_CONNECTION_LOST
public
mixed
EXCEPTION_CONNECTION_LOST
= 0300
EXCEPTION_RX_DATA
public
mixed
EXCEPTION_RX_DATA
= 0102
EXCEPTION_TX_DATA
public
mixed
EXCEPTION_TX_DATA
= 0101
Methods
__construct()
ClientNotConnectedToBrokerException constructor.
public
__construct(string $error) : mixed
Parameters
- $error : string