Requiem.DispatcherWorker (requiem v0.4.0)

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Link to this section Types

Specs

t() :: %Requiem.DispatcherWorker{
  allow_address_routing: boolean(),
  config_ptr: integer(),
  conn_id_secret: binary(),
  handler: module(),
  number_of_sockets: non_neg_integer(),
  packet_builder: integer(),
  sender_pid: pid(),
  token_secret: binary(),
  trace_id: binary(),
  worker_index: non_neg_integer()
}

Link to this section Functions

Link to this function

child_spec(init_arg)

Specs

child_spec(Keyword.t()) :: map()

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

start_link(opts)

Specs

start_link(Keyword.t()) :: GenServer.on_start()