public class AgentExample extends SimpleAgent
SimpleAgent| Constructor and Description |
|---|
AgentExample() |
| Modifier and Type | Method and Description |
|---|---|
void |
doIt()
This method will be called every 10 seconds
|
static void |
main(java.lang.String[] args) |
void |
on(LogBookEntry log)
This method will be called whenever a LogBookEntry arrives from the
selected vehicles and entities
|
broadcast, send, stoppublic void on(LogBookEntry log)
log - The messagepublic void doIt()
public static void main(java.lang.String[] args)