Package i5.las2peer.security
Interface MessageHandler
public interface MessageHandler
A simple interface to register message handlers to
Mediator
s.-
Method Summary
Modifier and TypeMethodDescriptionboolean
handleMessage
(Message message, AgentContext context) Gets an already opened message from an agent mediator and tries to process it.
-
Method Details
-
handleMessage
Gets an already opened message from an agent mediator and tries to process it. Returns true, if this handler has successfully handled the message, false otherwise.- Parameters:
message
-context
-- Returns:
- true, if the received message has been handled and can be removed
- Throws:
Exception
-