| Modifier and Type | Interface and Description |
|---|---|
interface |
ICommandListener<CMD extends CommandMessage>
This is an interface you need to implement, if you want to listen for a certain type of the command message that is sent
by the agent.
|
| Modifier and Type | Method and Description |
|---|---|
void |
IAct.act(CommandMessage command)
Execute an action in the world.
|
DATA |
ICommandSerializer.serialize(CommandMessage command)
Serialize command into some form that may be sent to the world simulator.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Act.act(CommandMessage command)
Sends command through the writer.
|
protected void |
Act.sendCommand(CommandMessage command)
Provides the implementation how to send 'command' through 'this.writer'.
|
String |
StringCommandSerializer.serialize(CommandMessage command) |
| Modifier and Type | Class and Description |
|---|---|
class |
CommandReact<COMMAND extends CommandMessage>
This abstract class allows you to easily hook a specific outgoing-command-handling behavior.
|
class |
CommandReactOnce<COMMAND extends CommandMessage>
This abstract class allows you to easily hook a specific event-handling behavior.
|
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.