Interface MessageStreamFilter


  • public interface MessageStreamFilter
    Filtration and modification message stream on the fly. Used only by tracer for now.
    • Method Detail

      • filter

        AbstractTraceMessage filter​(AbstractTraceMessage msg)
        Handle trace massage.
        Parameters:
        msg - message. All realization must distinguish three following types of messages: TraceMessage, TagMessage, DebugMessage
        Returns:
        null, if this message must be skipped. Not-null in other cases (it is recommended to return the received object modifying if necessary). Making a set of messages out of the received one is yet to be done. For complex stream conversions making trace channel which will filter messages and distribute it between other channels may be done.