Interface BroadcastConsumerBabelProtocol

All Superinterfaces:
BabelProtocol

public interface BroadcastConsumerBabelProtocol extends BabelProtocol
Marker interface for protocols that consume a broadcast service.

A protocol implementing this interface can:

For the annotation handling to work, a BroadcastConsumerExtensionFactory must be registered with the BabelBootstrap for this protocol class.

See Also:
  • Method Details

    • broadcast

      default void broadcast(Babel runtime, BabelMessage message)
      Sends message to all members of the overlay by routing a BroadcastRequest event to the registered broadcast provider.
      Parameters:
      runtime - the Babel runtime used to dispatch the request
      message - the message to broadcast