Class MessageDemux.All<E extends Enum<E>,M extends Message>

All Implemented Interfaces:
MessageReceiver<M>
Enclosing class:
MessageDemux<E extends Enum<E>,M extends Message>

public static class MessageDemux.All<E extends Enum<E>,M extends Message> extends MessageDemux<E,M>
Trivial instantiation of MessageDemux which propagates each message to all receivers in the map, as it has been constructed by PrimitiveMessageDemux.setReceiver(Enum,MessageReceiver)
  • Constructor Details

    • All

      public All(Class<E> tags)
      Only constructor
  • Method Details

    • getOutputTags

      protected EnumSet<E> getOutputTags(M m)
      Description copied from class: MessageDemux
      Has to be re-defined by derived classes to calculate the set of enum items which indicate the receivers the message shall be propagated to.

      Only method which needs to be re-defined by a subclass to be operative.
      Specified by:
      getOutputTags in class MessageDemux<E extends Enum<E>,M extends Message>