Package eu.bandm.tools.message
Class MessageDemux.All<E extends Enum<E>,M extends Message>
java.lang.Object
eu.bandm.tools.message.PrimitiveMessageDemux<E,M>
eu.bandm.tools.message.MessageDemux<E,M>
eu.bandm.tools.message.MessageDemux.All<E,M>
- All Implemented Interfaces:
MessageReceiver<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)
-
Nested Class Summary
Nested classes/interfaces inherited from class eu.bandm.tools.message.MessageDemux
MessageDemux.All<E extends Enum<E>,
M extends Message>, MessageDemux.ByKind<M extends Message> -
Field Summary
Fields inherited from class eu.bandm.tools.message.PrimitiveMessageDemux
outlets, tagclass
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetOutputTags
(M m) 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.Methods inherited from class eu.bandm.tools.message.MessageDemux
all, byKind, receive
Methods inherited from class eu.bandm.tools.message.PrimitiveMessageDemux
getReceiver, receive, setReceiver
-
Constructor Details
-
All
Only constructor
-
-
Method Details
-
getOutputTags
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 classMessageDemux<E extends Enum<E>,
M extends Message>
-