Package jadex.bridge.component
Interface IMessageHandler
-
- All Known Subinterfaces:
IUntrustedMessageHandler
public interface IMessageHandlerInterface for message handlers.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidhandleMessage(ISecurityInfo secinfos, IMsgHeader header, java.lang.Object msg)Handle the message.booleanisHandling(ISecurityInfo secinfos, IMsgHeader header, java.lang.Object msg)Test if handler should handle a message.booleanisRemove()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.
-
-