QJCC homepage

biz.chitec.quarterback.gjsa.server
Interface InitialExecutorAdder


public interface InitialExecutorAdder

Interface for the object to put the initial executors into the connection handler. After a ServerThreadBase has been created, it needs the initial CommandExecutors so that it can handle commands. To prevent the necessity to override the complete ServerThreadBase, this task is outsourced to the InitialExecutorAdder, which is given to the GJSAServer and from there passed to the ServerThreadHandler.

Version:
$Id: 3345017ba4df01bc84103239e7474ee91b22ab21 $
Author:
Dirk Hillbrecht 1997-1999, chitec/Dirk Hillbrecht 2000,2001,2002. Distributed under the terms of the GNU LGPL.

Method Summary
 java.util.List getAllStateExecutors(ServerThreadBase stb)
          Return executors which should be active in this and in all subsequent states.
 java.util.List getThisStateExecutors(ServerThreadBase stb)
          Return executors which should be active only in this state.
 

Method Detail

getThisStateExecutors

public java.util.List getThisStateExecutors(ServerThreadBase stb)
Return executors which should be active only in this state. May return null in which case no specific executor is available. Though this is possible, it will normally not make much sense.

Parameters:
stb - The ServerThreadBase object for the executor.
Returns:
List of CommandExecutor objects

getAllStateExecutors

public java.util.List getAllStateExecutors(ServerThreadBase stb)
Return executors which should be active in this and in all subsequent states. May return null, if no such executors shell be available.

Parameters:
stb - The ServerThreadBase object for the executor.
Returns:
List of CommandExecutor objects

QJCC homepage