| java.lang.Object | |
| ↳ | uk.ac.imperial.presage2.core.network.Message |
Known Direct Subclasses
|
This is a basic message to be sent between agents.
This message will only send a performative. If you want to send any objects/data with the message you should extend this class.
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| conversationKey | Optional conversation key. | ||||||||||
| data | |||||||||||
| from | Sender of this message | ||||||||||
| performative | FIPA performative of the message | ||||||||||
| protocol | Optional protocol name. | ||||||||||
| timestamp | Timestamp of when this message was sent. | ||||||||||
| type | |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Get the data in this message.
| |||||||||||
Get the sender of this message
| |||||||||||
Get the FIPA performative of this Input (if applicable).
| |||||||||||
Get the timestamp of this Input.
| |||||||||||
Get the type of this Input
| |||||||||||
set the timestamp of this Input
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
uk.ac.imperial.presage2.core.messaging.Input
| |||||||||||
Get the sender of this message
Get the FIPA performative of this Input (if applicable).
set the timestamp of this Input
| t | Time to set.
|
|---|