Astarte.Device.DefaultHandler (astarte_device v1.1.0)

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Starts the Handler process.

Link to this section Functions

Link to this function

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

handle_message(message, state)

Specs

handle_message(message :: Astarte.Device.Handler.Message.t(), nil) :: {:ok, nil}
Link to this function

init_state(args)

Specs

init_state(args :: term()) :: {:ok, nil}
Link to this function

start_link(args)

Specs

start_link(args :: term()) :: GenServer.on_start()

Starts the Handler process.