Interface Distributed<MessageBus>

Type Parameters:
MessageBus - the message bus which is distributed

public interface Distributed<MessageBus>
A contract towards being a distributed message bus implementation. The generic T defines the type of message bus which is distributed.
Since:
4.2.2
Author:
Steven van Beelen
  • Method Summary

    Modifier and Type
    Method
    Description
    Return the message bus of type MessageBus which is regarded as the local segment for this implementation.
  • Method Details

    • localSegment

      MessageBus localSegment()
      Return the message bus of type MessageBus which is regarded as the local segment for this implementation. Would return the message bus used to dispatch and handle messages in a local environment to bridge the gap in a distributed set up.
      Returns:
      a MessageBus which is the local segment for this distributed message bus implementation