nl.west.aaa
Interface MessageHandler
- All Known Implementing Classes:
- AccountingHandler, MessageHandlerContainer, ReplyHandler, DebugHandler, DomainHandler
- public interface MessageHandler
Interface to handle incoming Messages.
Implementations of this interface can be registered
with a AAAUnit to handle incoming messages
that are not replies to sent messages.
- See Also:
AAAUnit.addMessageHandler(MessageHandler)
handleMessage
public boolean handleMessage(Message msg,
AAAUnit unit)
- Process the incoming message. Return false if message
cannot be processed in the current context.
If the message is processed and handled by
this class, return true.
The given AAAUnit can be used to send replies.
|