Package jadex.bridge.component
Interface IMessageHandler
-
- All Known Subinterfaces:
IUntrustedMessageHandler
- All Known Implementing Classes:
SecurityAgent.ReencryptRequestHandler
,SecurityAgent.SecurityMessageHandler
public interface IMessageHandler
Interface for message handlers.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
handleMessage(ISecurityInfo secinfos, IMsgHeader header, java.lang.Object msg)
Handle the message.boolean
isHandling(ISecurityInfo secinfos, IMsgHeader header, java.lang.Object msg)
Test if handler should handle a message.boolean
isRemove()
Test if handler should be removed.
-
-
-
Method Detail
-
isHandling
boolean isHandling(ISecurityInfo secinfos, IMsgHeader header, java.lang.Object msg)
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
void handleMessage(ISecurityInfo secinfos, IMsgHeader header, java.lang.Object msg)
Handle the message.- Parameters:
header
- The header.msg
- The message.
-
-