View Source A2S.Statem (Elixir_A2S v0.1.0)

A generic state machine responsible for handling all A2S queries to a specific IP address and port. Queries must be performed sequentially per address, as A2S provides no way to associate what replies associate to what responses.

Each instance should exit normally after a certain interval of inactivity to save memory.

Link to this section Summary

Link to this section Types

Link to this section Functions

@spec child_spec(init_args()) :: Supervisor.child_spec()
@spec start_link(init_args()) :: :ignore | {:error, any()} | {:ok, pid()}
@spec stop(
  {:inet.ip_address(), :inet.port_number()},
  any()
) :: :ok