Anoma.Client.Node.Connection.Supervisor (Anoma v0.34.0)

I am the client supervisor. I monitor all the processed regarding a connection to a single remote node.

I manage two connections. The GRPC endpoint for this client and the proxy for the remote node.

Summary

Functions

Returns the child specification for a connection to the remote node.

I initialize a new client connection supervision tree.

I start_link a new client connection supervision tree.

Functions

child_spec(init_arg)

@spec child_spec(startup_options()) :: Supervisor.child_spec()

Returns the child specification for a connection to the remote node.

These connections must be terminated when the client is stopped. This is why the restart is set to :transient.

init(args)

I initialize a new client connection supervision tree.

start_link(args)

@spec start_link(startup_options()) :: GenServer.on_start()

I start_link a new client connection supervision tree.