public interface ClientCommandScheduler
ClientCommand
instances for a specified time/delay.Modifier and Type | Method and Description |
---|---|
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 . |
void schedule(ClientCommand<?> aCommand)
ClientCommand
.aCommand
- ClientCommand
to schedulevoid schedule(ClientCommand<?> aCommand, int aDelay)
ClientCommand
.
The execution is started after the specified delay.aCommand
- ClientCommand
to scheduleaDelay
- delay in millisecondsCopyright © 2012. All Rights Reserved.