Interface SendMessageDebugger
-
- All Implemented Interfaces:
public interface SendMessageDebuggerDebugs the sending message flow.
-
-
Method Summary
Modifier and Type Method Description UnitonStart(Message message)Called when the sending of a message starts. UnitonInterceptionStart(Message message)Called when the interception of a message starts. UnitonInterceptionUpdate(Message message)Called when an intercepted message is updated during interception. UnitonInterceptionStop(Result<Message> result, Message message)Called when the interception of a message is stopped and the result is available. UnitonSendStart(Message message)Called when the sending of a message starts after interception. UnitonSendStop(Result<Message> result, Message message)Called when the sending of a message is stopped and the result is available. UnitonStop(Result<Message> result, Message message)Called when the sending of a message is completely stopped and the final result is available. -
-
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.
-
-
-
-