Class MessagePasser<M extends Message>

java.lang.Object
eu.bandm.tools.message.SingleSender<M>
eu.bandm.tools.message.MessagePasser<M>
Type Parameters:
M - the message subtype propagated by this sender
All Implemented Interfaces:
MessageReceiver<M>
Direct Known Subclasses:
LLJavac.Messager, MessageFormatter, MessageTranslator

public class MessagePasser<M extends Message> extends SingleSender<M> implements MessageReceiver<M>
Simply passes every message it receives to a single target. Is intented as a basis class for overriding the receive(M) method and thus implementing filters and on-the-fly transformations.