Package jadex.platform.service.security
Class SecurityAgent.SecurityMessageHandler
- java.lang.Object
-
- jadex.platform.service.security.SecurityAgent.SecurityMessageHandler
-
- All Implemented Interfaces:
IMessageHandler,IUntrustedMessageHandler
- Enclosing class:
- SecurityAgent
protected class SecurityAgent.SecurityMessageHandler extends java.lang.Object implements IUntrustedMessageHandler
Security service message handler.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSecurityMessageHandler()
-
Method Summary
All Methods Instance Methods Concrete 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
public boolean isHandling(ISecurityInfo secinfos, IMsgHeader header, java.lang.Object msg)
Test if handler should handle a message.- Specified by:
isHandlingin interfaceIMessageHandler- Returns:
- True if it should handle the message.
-
isRemove
public boolean isRemove()
Test if handler should be removed.- Specified by:
isRemovein interfaceIMessageHandler- Returns:
- True if it should be removed.
-
handleMessage
public void handleMessage(ISecurityInfo secinfos, IMsgHeader header, java.lang.Object msg)
Handle the message.- Specified by:
handleMessagein interfaceIMessageHandler- Parameters:
header- The header.msg- The message.
-
-