hyparview v0.1.4 Hyparview.Messages.ShuffleReply View Source
SHUFFLEREPLY message abstraction module
Link to this section Summary
Functions
A ShuffleReply message that includes a number of nodes selected at random from q’s passive view equal to the number of nodes received in the Shuffle request
Send a SHUFFLEREPLY message to the SHUFFLE sender
Link to this section Types
Link to this section Functions
Link to this function
handle(shuffle_reply, view)
View Source
handle(t(), Hyparview.View.t()) :: Hyparview.View.t()
Link to this function
new(options \\ [])
View Source
new(view: Hyparview.View.t(), shuffle: Hyparview.Messages.Shuffle.t()) :: t()
A ShuffleReply message that includes a number of nodes selected at random from q’s passive view equal to the number of nodes received in the Shuffle request.
shuffle_reply = ShuffleReply.new(view: state.view, shuffle: Shuffle.new())
Link to this function
send!(shuffle_reply, shuffle_sender)
View Source
send!(Hyparview.Messages.ShuffleReply.t(), Node.t()) :: :ok
Send a SHUFFLEREPLY message to the SHUFFLE sender
:ok = ShuffleReply.send!(shuffle_reply, :"node1@127.0.0.1")