jtge.engine.handler
Class Filter

java.lang.Object
  extended byjtge.engine.handler.AbstractProducer
      extended byjtge.engine.handler.AbstractHandler
          extended byjtge.engine.handler.Filter
All Implemented Interfaces:
IConsumer

public class Filter
extends AbstractHandler

Provides a means to filter some commands out of a flow.

Version:
$Revision: 1.3 $ $Date: 2005/08/26 18:09:36 $
Author:
Mathieu Champlon

Constructor Summary
Filter(IConsumer consumer, IFilter filter)
          Create a filter handler.
 
Method Summary
 void handle(ICommand command)
          Handle a command.
 
Methods inherited from class jtge.engine.handler.AbstractProducer
forward
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Filter

public Filter(IConsumer consumer,
              IFilter filter)
Create a filter handler.

Parameters:
consumer - the target consumer
filter - the filter to use
Method Detail

handle

public final void handle(ICommand command)
Handle a command.

Parameters:
command - the command to handle


Copyright © 2003-2005 . All Rights Reserved.