public class GWTCommandScheduler extends Object implements ClientCommandScheduler
ClientCommand
instances for a specified time/delay. GWTCommandScheduler is a implementation of ClientCommandScheduler
for GWT.Modifier and Type | Class and Description |
---|---|
static class |
GWTCommandScheduler.GWTCommandTimer |
Constructor and Description |
---|
GWTCommandScheduler() |
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 . |
public GWTCommandScheduler()
public void schedule(ClientCommand<?> aCommand)
ClientCommand
.schedule
in interface ClientCommandScheduler
aCommand
- ClientCommand
to schedulepublic void schedule(ClientCommand<?> aCommand, int aDelay)
ClientCommand
.
The execution is started after the specified delay.schedule
in interface ClientCommandScheduler
aCommand
- ClientCommand
to scheduleaDelay
- delay in millisecondsCopyright © 2012. All Rights Reserved.