Class MessageStore<M extends Message>

java.lang.Object
eu.bandm.tools.message.MessageStore_<M>
eu.bandm.tools.message.MessageStore<M>
All Implemented Interfaces:
MessageReceiver<M>

public class MessageStore<M extends Message> extends MessageStore_<M>
Storage for a sequence of Messages with dynamic sorting, graphic interfaces and propagation facilities.

All messages received are added to an internal sequential storage in the order of arrival. Additionally the nesting level of Message.Kind.logStart and Message.Kind.logEnd messages is stored, which can be rendered by a GUI.
  • Field Details

    • nestingLevel

      protected int nestingLevel
      Internal state for storing the nesting of Message.Kind.logStart and Message.Kind.logEnd messages. Is always >=0, also in case of inconsistent nesting of incomming messages.
  • Constructor Details

    • MessageStore

      public MessageStore()
  • Method Details