Interface MessageStreamListener

    • Method Detail

      • handleStreamStart

        void handleStreamStart()
                        throws java.lang.Throwable
        Stream start. If the stream has been created earlier or the listener was connected to the stream after the start then the stream start message is not transmitted.
        Throws:
        java.lang.Throwable - An error has occurred. MessageStream ignores it anyway.
      • handleStreamMessage

        void handleStreamMessage​(AbstractTraceMessage msg)
                          throws java.lang.Throwable
        Message arrival.
        Parameters:
        msg - Message.
        Throws:
        java.lang.Throwable - An error has occurred. MessageStream ignores it anyway.
      • handleStreamEnd

        void handleStreamEnd​(boolean normal)
                      throws java.lang.Throwable
        Stream end or disconnection.
        Parameters:
        normal - true if the end is normal else false.
        Throws:
        java.lang.Throwable - An error has occurred. MessageStream ignores it anyway.