exmqttc v0.6.0 Exmqttc.Callback behaviour
Behaviour module for Exmqttc callbacks
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor
Callbacks
Called if the connection process or the callback handler process receive unknown handle_call/3
calls
Called if the connection process or the callback handler process receive unknown handle_cast/2
calls
Called once a connection has been established
Called on disconnection from the broker
Called if the connection process or the callback handler process receive unknown handle_info/2
calls, and by extend also unknown Elixir messages
Called upon reception of a MQTT message, passes in topic and message
Initializing the callback module, returned data is passed in as state on the next call. Params are taken from Exmqttc.start_link
Link to this section Functions
Returns a specification to start this module under a supervisor.
See Supervisor
.
Link to this section Callbacks
Called if the connection process or the callback handler process receive unknown handle_call/3
calls.
Called if the connection process or the callback handler process receive unknown handle_cast/2
calls.
Called once a connection has been established.
Called on disconnection from the broker.
Called if the connection process or the callback handler process receive unknown handle_info/2
calls, and by extend also unknown Elixir messages.
Called upon reception of a MQTT message, passes in topic and message.
Initializing the callback module, returned data is passed in as state on the next call. Params are taken from Exmqttc.start_link