jtge.engine.handler
Class Executor

java.lang.Object
  extended byjtge.engine.handler.Executor
All Implemented Interfaces:
IConsumer

public class Executor
extends java.lang.Object
implements IConsumer

Provides a means to execute received commands within a given context.

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

Constructor Summary
Executor(IContext context)
          Create an executor.
 
Method Summary
 void handle(ICommand command)
          Handle a command.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Executor

public Executor(IContext context)
Create an executor.

Parameters:
context - the context for the command execution
Method Detail

handle

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

Specified by:
handle in interface IConsumer
Parameters:
command - the command to handle


Copyright © 2003-2005 . All Rights Reserved.