Anoma.Node.Examples.ETransport.ETcp.Context (Anoma v0.25.0)

Summary

Types

t()

I am the state of a TCP listener.

Types

@type t() :: %Anoma.Node.Examples.ETransport.ETcp.Context{
  node_id: String.t() | nil,
  pid: pid() | nil,
  ports: [integer()]
}

I am the state of a TCP listener.

My fields contain information to listen for TCP connection with a remote node.

Fields

  • :node_id - The key of this router. This value is used to announce myself to other
  • :pid - the pid of the supervision tree.
  • :ports - The ports on which the node is listening for connections.