com.shimari.fxbot
Class TradeHandler

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

public class TradeHandler
extends java.lang.Object
implements Handler, Component


Constructor Summary
TradeHandler(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

TradeHandler

public TradeHandler(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