ViewstampedReplication.Transport behaviour (viewstamped_replication v0.1.0)

Copy Markdown View Source

Message delivery boundary for protocol envelopes.

Destinations are resolved only from the explicit configuration supplied to the adapter. Transport reachability is never treated as VSR membership.

Summary

Callbacks

send(transport_state, destination, t)

@callback send(
  transport_state :: term(),
  destination :: term(),
  ViewstampedReplication.Protocol.Envelope.t()
) :: :ok | {:error, term()}