Interface Tracer.Channel

    • Method Detail

      • startTrace

        void startTrace​(java.util.Properties props)
                 throws java.io.IOException,
                        java.lang.IllegalStateException,
                        java.lang.IllegalArgumentException
        Starts trace.
        Parameters:
        props - Conf.
        Throws:
        java.io.IOException - Input-output error.
        java.lang.IllegalStateException - Impossible to start trace, trace has already begun or conf error.
        java.lang.IllegalArgumentException - Invalid properties in props.
      • dispatch

        void dispatch​(AbstractTraceMessage msg)
               throws java.io.IOException,
                      java.lang.IllegalStateException,
                      java.lang.IllegalArgumentException
        Processes trace message.
        Parameters:
        msg - Trace message. Realizations must recognize following message types: TraceMessage, TagMessage, DebugMessage
        Throws:
        java.io.IOException - Input-output error.
        java.lang.IllegalStateException - Trace has not begun yet or conf error.
        java.lang.IllegalArgumentException - Configuration internal problems.
      • endTrace

        void endTrace()
               throws java.io.IOException,
                      java.lang.IllegalStateException,
                      java.lang.IllegalArgumentException
        Ends a trace.
        Throws:
        java.io.IOException - Input-output error.
        java.lang.IllegalStateException - Trace has not begun yet or conf error.
        java.lang.IllegalArgumentException - Configuration internal problems.