java.lang.Object
utils.communication.communicationHandler.Broadcast.AsynchBroadcast
All Implemented Interfaces:
Broadcast

public class AsynchBroadcast extends Object implements Broadcast
  • Constructor Details

    • AsynchBroadcast

      public AsynchBroadcast()
  • Method Details

    • broadcast

      public CompletableFuture<Void> broadcast(byte[] msgPayload, Map<? extends AddressInterface,? extends ProcessInterface> groupCon)
      Implementation of a non-reliable broadcast primitive in an asynchronous communication group
      Specified by:
      broadcast in interface Broadcast
      Parameters:
      msgPayload - payload of message to send
      groupCon - description of communication group
      Returns:
      completable future pertaining to the completion of the broadcast, i.e., completes when a message has been sent to every process