Interface MessageHandlingRunnable
- All Superinterfaces:
Runnable
public interface MessageHandlingRunnable extends Runnable
Extension of theRunnable
interface with methods to obtain theMessageHandler
andMessage
to be handled.- Since:
- 4.1.1
- Author:
- Rossen Stoyanchev
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Message<?>
getMessage()
Return the Message that will be handled.MessageHandler
getMessageHandler()
Return the MessageHandler that will be used to handle the message.
Method Detail
getMessage
Message<?> getMessage()
Return the Message that will be handled.
getMessageHandler
MessageHandler getMessageHandler()
Return the MessageHandler that will be used to handle the message.