com.googlecode.jpattern.core.asynccommand
Interface IAsyncCommand

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
AAsyncCommand, NullAsyncCommand

public interface IAsyncCommand
extends java.io.Serializable

Author:
Francesco Cina' 28/gen/2011

Method Summary
 IAsyncCommandResult exec(IAsyncCommandPool asyncCommandPool)
          This method launch the execution of the command (or chain of commands).
 void visit(IProvider provider)
           
 

Method Detail

visit

void visit(IProvider provider)

exec

IAsyncCommandResult exec(IAsyncCommandPool asyncCommandPool)
This method launch the execution of the command (or chain of commands). Every command in the chain will be managed by an asyncCommandPool object

Parameters:
asyncCommandPool - the pool in which the command will runs
Returns:
the result of the execution


Copyright © 2011. All Rights Reserved.