public abstract class Message
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected Agent |
receiver |
protected Agent |
sender |
| Constructor and Description |
|---|
Message(Agent sender,
Agent receiver)
A message represent a communicative activity from the sender to the receiver
|
| Modifier and Type | Method and Description |
|---|---|
Agent |
getReceiver() |
Agent |
getSender() |
abstract void |
processMessage(double systemTime)
Processing the message will make the message take effect.
|
public Agent getSender()
public Agent getReceiver()
public abstract void processMessage(double systemTime)
systemTime - The time at which the message is processed / evaluated