de.novanic.eventservice.client.event.command.schedule
Interface ClientCommandScheduler

All Known Implementing Classes:
GWTCommandScheduler

public interface ClientCommandScheduler

The ClientCommandScheduler can schedule the execution of ClientCommand instances for a specified time/delay.

Author:
sstrohschein
Date: 04.04.2009
Time: 22:24:47

Method Summary
 void schedule(ClientCommand<?> aCommand)
          Creates a new thread for the execution of the ClientCommand.
 void schedule(ClientCommand<?> aCommand, int aDelay)
          Creates a new thread for the execution of the ClientCommand.
 

Method Detail

schedule

void schedule(ClientCommand<?> aCommand)
Creates a new thread for the execution of the ClientCommand.

Parameters:
aCommand - ClientCommand to schedule

schedule

void schedule(ClientCommand<?> aCommand,
              int aDelay)
Creates a new thread for the execution of the ClientCommand. The execution is started after the specified delay.

Parameters:
aCommand - ClientCommand to schedule
aDelay - delay in milliseconds