public interface MessageHandlingRunnable extends Runnable
Runnable
interface with methods to obtain the
MessageHandler
and Message
to be handled.Modifier and Type | Method and Description |
---|---|
Message<?> |
getMessage()
Return the Message that will be handled.
|
MessageHandler |
getMessageHandler()
Return the MessageHandler that will be used to handle the message.
|
Message<?> getMessage()
MessageHandler getMessageHandler()