Uses of Class
eu.bandm.tools.message.Message
Packages that use Message
Package
Description
Utility functions for Swing GUI interaction and for graphics: drawing and coordinate calculation.
Messages from an application to the user, and the building blocks
for a processing pipeline.
-
Uses of Message in eu.bandm.tools.graficUtils
Methods in eu.bandm.tools.graficUtils with type parameters of type MessageModifier and TypeMethodDescriptionstatic <D extends Message>
booleanSwingTools.ask(JFrame frame, @Opt String windowtitle, int messageType, MessageStore<D> text, String cancelbutton, String okbutton) static <M extends Message>
MessagePrinter.Indenting<M> Vt100.setColors(MessagePrinter.Indenting<M> mp) Configures the given MessagePrinter to switch the colors of the error and warning messages.static <D extends Message>
voidSwingTools.show(JFrame frame, @Opt String windowtitle, int messageType, MessageStore<D> text, String buttonText) -
Uses of Message in eu.bandm.tools.message
Classes in eu.bandm.tools.message with type parameters of type MessageModifier and TypeClassDescriptionclassMessageAsync<M extends Message>A subclass ofSingleSenderwhich lets the drain's receive method run asynchronouously in a separate thread.classMessageDemux<E extends Enum<E>,M extends Message> Message de-multiplexer which propagates each received message individually to zero to multiple receivers.static classMessageDemux.All<E extends Enum<E>,M extends Message> A message de-multiplexer which propagates each message to all receivers in the map.static classMessageDemux.ByKind<M extends Message>A message de-multiplexer which sorts messages by their kind.classMessageKindFilter<M extends Message>A filter which propagates only those messages the kind of which is currently in the selection.classMessageLatch<M extends Message>A simple register which save the most recenly received message.classMessageLevelFilter<M extends Message>A filter which sends messages only to its drain if their level value is equal to or below a given threshold.classMessageMapper<M extends Message,N extends Message> A message receiver which receives a message of one type, and propagates the result of applying a function to this message, which may be of different type.classMessageMapper<M extends Message,N extends Message> A message receiver which receives a message of one type, and propagates the result of applying a function to this message, which may be of different type.classMessagePasser<M extends Message>Simply passes every message it receives to a single drain.classMessagePrinter<M extends Message>Prints textual representations of all received messages to an output stream.static classMessagePrinter.Indenting<M extends Message>Specialization ofMessagePrinterwith addtional features.interfaceMessageReceiver<M extends Message>Everything which can receive a message.classMessageStore<M extends Message>Storage for a sequence ofMessages in order of their arrival.(package private) classMessageStore_<M extends Message>Common superclass for different kinds of message storages.classMessageStoreSorted<M extends Message>Storage for a sequence ofMessages with dynamic sorting.classMessageStripExceptions<M extends Message>A filter which strips off all exceptions, or at least their stack traces.classMessageSync<M extends Message>Can accept messages from many different parallel threads.classMessageTee<M extends Message>Propagates all received messages sequentially to a multitude of current drains.classMessageThrower<M extends Message>Throws each message it receives after wrapping it into aMessageException.classPrimitiveMessageDemux<E extends Enum<E>,M extends Message> Auxiliary class which maps from an enumeration type to optionalMessageReceivers.classSingleSender<M extends Message>Common superclass of classes which send messages to one single switchable drain.classSwingMessageField<M extends Message>A one-line display for one message at a time, to be included in a Swing based GUI.Subclasses of Message in eu.bandm.tools.messageModifier and TypeClassDescriptionclassA minimal selection of message data which is useful in practice.static classLog message with not more informative content than "I am still alive".Fields in eu.bandm.tools.message declared as MessageModifier and TypeFieldDescription(package private) MMessageLatch.lastMessageInternal store for the last received message.final MessageMessageException.messageThe wrapped Message,Fields in eu.bandm.tools.message with type parameters of type MessageModifier and TypeFieldDescriptionstatic final MessageReceiver<Message> MessageCounter.noErrorsDiscards all messages but throws an AssertionError if an error is received.Methods in eu.bandm.tools.message with type parameters of type MessageModifier and TypeMethodDescriptionstatic <E extends Enum<E>,M extends Message>
MessageDemux<E, M> Delivers a trivial instantiation ofMessageDemux, seeMessageDemux.All.static <M extends Message>
MessageDemux<Message.Kind, M> MessageDemux.byKind()Factory method for the constructorMessageDemux.ByKindstatic <M extends Message,N extends Message>
Function<MessageReceiver<N>, MessageReceiver<M>> Delivers a function which applied to a message receiver for type "N" will deliver a message receiver for type "M".static <M extends Message,N extends Message>
Function<MessageReceiver<N>, MessageReceiver<M>> Delivers a function which applied to a message receiver for type "N" will deliver a message receiver for type "M".Methods in eu.bandm.tools.message that return types with arguments of type MessageModifier and TypeMethodDescriptionMessagePatterns.mKind(Message.Kind kind) Matches any Message with the given kind.MessagePatterns.mKind(Pattern<? super Message.Kind> kind) Matches any Message with the given kind.Patterns.mKind(Message.Kind kind) Matches any Message with the given kind.Patterns.mKind(Pattern<? super Message.Kind> kind) Matches any Message with the given kind.Methods in eu.bandm.tools.message with parameters of type MessageModifier and TypeMethodDescriptionprotected EnumSet<Message.Kind> MessageDemux.ByKind.getOutputTags(Message m) Calculate the set of enum items which indicate the receivers the message shall be propagated to.voidAdvance one or two counters, depending on the message kind.voidDoes nothing with the received message.voidSets state toTrafficLight.State.redif the received message is critcal, otherwise to yellow, if it is not already red.Constructors in eu.bandm.tools.message with parameters of type MessageModifierConstructorDescriptionprotectedCreates a clone, but with newer date,MessageException(Message message) Only constructor.Constructor parameters in eu.bandm.tools.message with type arguments of type MessageModifierConstructorDescriptionConstructor which sets only the message receiver.MessageCatcher(Runnable c, @Opt MessageReceiver<Message> rec) Constructor which sets the payload code and the message receiver.