# `ExCEP.Cluster.Handler`

Callback behaviour for handling Gateway-initiated ASDUs on the Cluster (Master) server.

# `state`

```elixir
@type state() :: term()
```

# `handle_asdu`

```elixir
@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()}
```

# `init`

```elixir
@callback init(opts :: term()) :: {:ok, state()}
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
