org.kaariboga.core
Interface KbMessageHandler
- All Known Implementing Classes:
- Kaariboga
- public interface KbMessageHandler
Interface for classes who want to register as a message handler.
A class may want to extend the possibilities of KaaribogaBase
to handle different kinds of messages. For this purpose a
class may register at KaaribogaBase as a MessageHander.
The difference between MessageListeners and MessageHandlers
is, that a MessageListener listens to messages that may be
fired asynchronous.
handleMessage
public void handleMessage(KaaribogaMessage msg)
- Method to handle messages.
This method is usually called by KaaribogaBase in a
synchronous way.