org.jactr.core.module.asynch.delegate
Interface IAsynchronousModuleDelegate<M extends IAsynchronousModule,R>

All Known Implementing Classes:
AbstractAsynchronousModuleDelegate, AbstractVocalDelegate, AuralAttendingDelegate, AuralSearchDelegate, BasicAsynchronousModuleDelegate, ExecuteVocalizationDelegate, PrepareVocalizationDelegate, ProcessVocalizationDelegate, VisualEncodingDelegate, VisualSearchDelegate

public interface IAsynchronousModuleDelegate<M extends IAsynchronousModule,R>

interface for module processing delegates that operate asynchronously

Author:
harrison

Method Summary
 M getModule()
          get the module this is installed into
 java.util.concurrent.Future<R> process(IRequest request, double processTime, java.lang.Object... parameters)
          everything is based on a ChunkPattern.
 

Method Detail

getModule

M getModule()
get the module this is installed into

Returns:

process

java.util.concurrent.Future<R> process(IRequest request,
                                       double processTime,
                                       java.lang.Object... parameters)
everything is based on a ChunkPattern. This will start the processing and return some result, usually an IChunk

Parameters:
request -