com.shimari.fxbot
Class QuoteHandler

java.lang.Object
  extended bycom.shimari.fxbot.QuoteHandler
All Implemented Interfaces:
Component, Handler

public class QuoteHandler
extends java.lang.Object
implements Handler

Retrieve detailed quotes from ideosphere, calculating all sorts of useful additional information that is not normally part of a quote, and showing the book.


Constructor Summary
QuoteHandler(Config config)
           
 
Method Summary
 boolean handle(Message m)
          Handle a message.
 void init(Registry components)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QuoteHandler

public QuoteHandler(Config config)
             throws ConfigException
Method Detail

init

public void init(Registry components)
          throws ConfigException
Specified by:
init in interface Component
Throws:
ConfigException

handle

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

Specified by:
handle in interface Handler