public interface CommandFilter
| Modifier and Type | Method and Description |
|---|---|
void |
filter(java.util.Collection<Command> commands,
KernelState state)
Filter a set of agent commands.
|
void |
initialise(Config config)
Initialise this filter.
|
void initialise(Config config)
config - The kernel configuration.void filter(java.util.Collection<Command> commands, KernelState state)
commands - The commands to filter. This collection should be modified to remove any illegal commands.state - The state of the kernel.