Interface SendMessageDebugger

  • All Implemented Interfaces:

    
    public interface SendMessageDebugger
    
                        

    Debugs the sending message flow.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      Unit onStart(Message message) Called when the sending of a message starts.
      Unit onInterceptionStart(Message message) Called when the interception of a message starts.
      Unit onInterceptionUpdate(Message message) Called when an intercepted message is updated during interception.
      Unit onInterceptionStop(Result<Message> result, Message message) Called when the interception of a message is stopped and the result is available.
      Unit onSendStart(Message message) Called when the sending of a message starts after interception.
      Unit onSendStop(Result<Message> result, Message message) Called when the sending of a message is stopped and the result is available.
      Unit onStop(Result<Message> result, Message message) Called when the sending of a message is completely stopped and the final result is available.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • onStart

         Unit onStart(Message message)

        Called when the sending of a message starts.

        Parameters:
        message - The message being sent.
      • onInterceptionStart

         Unit onInterceptionStart(Message message)

        Called when the interception of a message starts.

        Parameters:
        message - The message being intercepted.
      • onInterceptionUpdate

         Unit onInterceptionUpdate(Message message)

        Called when an intercepted message is updated during interception.

        Parameters:
        message - The updated message.
      • onInterceptionStop

         Unit onInterceptionStop(Result<Message> result, Message message)

        Called when the interception of a message is stopped and the result is available.

        Parameters:
        result - The result of the intercepted message.
        message - The updated message.
      • onSendStart

         Unit onSendStart(Message message)

        Called when the sending of a message starts after interception.

        Parameters:
        message - The message being sent.
      • onSendStop

         Unit onSendStop(Result<Message> result, Message message)

        Called when the sending of a message is stopped and the result is available.

        Parameters:
        result - The result of the sent message.
        message - The sent message.
      • onStop

         Unit onStop(Result<Message> result, Message message)

        Called when the sending of a message is completely stopped and the final result is available.

        Parameters:
        result - The final result of the message.
        message - The sent message.