View Source A2S.Statem (elixir_a2s v0.2.6)

A state machine process responsible for handling all A2S queries to a game server running at the given address. 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 (currently hard-coded to 2 minutes).

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