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)

Method Summary
 boolean handleMessage(Message msg, AAAUnit unit)
          Process the incoming message.
 

Method Detail

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.



Arthur <arthur@ch.twi.tudelft.nl> http://ch.twi.tudelft.nl/~arthur/
2002-05-27