com.shimari.bot
Interface Handler

All Superinterfaces:
Component
All Known Implementing Classes:
ClaimHandler, HelpHandler, QuoteHandler, TickerHandler, TradeHandler, UserHandler

public interface Handler
extends Component

Messages are supplied to a handler for processing. A Handler may also implement the Cron.Task interface as well, if it has periodic tasks that should be executed.


Method Summary
 boolean handle(Message m)
          Handle a message.
 
Methods inherited from interface com.shimari.framework.Component
init
 

Method Detail

handle

public boolean handle(Message m)
Handle a message. If further processing should be done return false; if the message has been fully processed return true.