ExCEP.Transport.ConnectionParams (ex_cep v0.1.1)

Copy Markdown

Connection parameters for CEP Gateway clients and Cluster servers.

Summary

Functions

Builds %ConnectionParams{} with defaults from ExCEP.Config.

Types

channel()

@type channel() :: :management | :business

compress_mode()

@type compress_mode() :: :auto | true | false

t()

@type t() :: %ExCEP.Transport.ConnectionParams{
  channel: channel(),
  cipher: {module(), keyword()} | nil,
  compat: ExCEP.Compat.t(),
  compress: compress_mode(),
  compress_threshold_bytes: non_neg_integer(),
  connect_timeout_ms: pos_integer(),
  gateway_id: String.t() | nil,
  gateway_name: String.t() | nil,
  heartbeat_interval_ms: pos_integer(),
  heartbeat_timeout_ms: pos_integer(),
  host: String.t() | :inet.ip_address() | nil,
  local_ip: :inet.ip_address() | String.t() | nil,
  port: :inet.port_number() | nil,
  request_timeout_ms: pos_integer(),
  require_auth: boolean(),
  sign_control: boolean(),
  signer: {module(), term()} | nil,
  tls_options: keyword() | nil
}

Functions

new(opts \\ [])

@spec new(keyword()) :: t()

Builds %ConnectionParams{} with defaults from ExCEP.Config.