Package com.unitesk.aspectrace
Interface MessageStreamFilter
-
public interface MessageStreamFilter
Filtration and modificationmessage stream
on the fly. Used only bytracer
for now.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AbstractTraceMessage
filter(AbstractTraceMessage msg)
Handle trace massage.
-
-
-
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.
-
-