Package jadex.messaging
Interface IMessageHandler
public interface IMessageHandler
Interface for message handlers.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
handleMessage
(ISecurityInfo secinfos, Object msg) Handle the message.boolean
isHandling
(ISecurityInfo secinfos, Object msg) Test if handler should handle a message.boolean
isRemove()
Test if handler should be removed.
-
Method Details
-
isHandling
Test if handler should handle a message.- Returns:
- True if it should handle the message.
-
isRemove
boolean isRemove()Test if handler should be removed.- Returns:
- True if it should be removed.
-
handleMessage
Handle the message.- Parameters:
msg
- The message.header
- The header.
-