Anoma.Node.Transport.IntraNode behaviour (Anoma v0.34.0)
Summary
Callbacks
I send a call message to a remote node over the wire, and expect a response back.
I cast a message to a remote node over the wire, and do not expect a result back.
I send an event across the wire to another node, and do not expect a result back.
Callbacks
@callback call( Anoma.Node.Transport.NetworkRegister.Advert.GRPCAddress.t() | Anoma.Node.Transport.NetworkRegister.Advert.TCPAddress.t(), map() ) :: {:ok, term()}
I send a call message to a remote node over the wire, and expect a response back.
@callback cast( Anoma.Node.Transport.NetworkRegister.Advert.GRPCAddress.t() | Anoma.Node.Transport.NetworkRegister.Advert.TCPAddress.t(), map() ) :: :ok
I cast a message to a remote node over the wire, and do not expect a result back.
@callback publish( Anoma.Node.Transport.NetworkRegister.Advert.GRPCAddress.t() | Anoma.Node.Transport.NetworkRegister.Advert.TCPAddress.t(), String.t(), EventBroker.Event.t() ) :: :ok
I send an event across the wire to another node, and do not expect a result back.