Package jadex.bridge.component
Interface IMessageHandler
- 
- All Known Subinterfaces:
- IUntrustedMessageHandler
 - All Known Implementing Classes:
- SecurityAgent.ReencryptRequestHandler,- SecurityAgent.SecurityMessageHandler
 
 public interface IMessageHandlerInterface for message handlers.
- 
- 
Method SummaryAll 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- 
isHandlingboolean isHandling(ISecurityInfo secinfos, IMsgHeader header, java.lang.Object msg) Test if handler should handle a message.- Returns:
- True if it should handle the message.
 
 - 
isRemoveboolean isRemove() Test if handler should be removed.- Returns:
- True if it should be removed.
 
 - 
handleMessagevoid handleMessage(ISecurityInfo secinfos, IMsgHeader header, java.lang.Object msg) Handle the message.- Parameters:
- header- The header.
- msg- The message.
 
 
- 
 
-