ExCEP. Cluster. Handler behaviour
(ex_cep v0.1.1)
Copy Markdown
Callback behaviour for handling Gateway-initiated ASDUs on the Cluster (Master) server.
Summary
Types
@type state() :: term()
Callbacks
@callback handle_asdu( gateway_id :: String.t(), asdu :: ExCEP.Codec.DataAsdu.t(), channel :: :management | :business, state :: state() ) :: {:reply, ExCEP.Codec.DataAsdu.t(), state()} | {:noreply, state()}