Message object¶
Network messages used in the distributed simulation
-
class
message.
NetworkMessage
(timestamp, content, uuid, color, destination)[source]¶ Network messages used in the distributed simulation, simply a data class.
-
__init__
(timestamp, content, uuid, color, destination)[source]¶ Constructor
Parameters: - timestamp – timestamp of the message
- content – content of the message
- uuid – UUID of the message
- color – color of the message for Mattern’s algorithm
- destination – the model_id of the destination model
-
__weakref__
¶ list of weak references to the object (if defined)
-