Documentation

ClientNotConnectedToBrokerException extends DataTransferException

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

Methods

__construct()

ClientNotConnectedToBrokerException constructor.

public __construct(string $error) : mixed
Parameters
$error : string
Return values
mixed

Search results