omnetpypy.front_end.message
This module implements the Message
class,
representing a message in the simulation.
- class omnetpypy.front_end.message.Message(fields, **meta)[source]
Bases:
object
This class is a wrapper for messages exchanged between entities in a simulation.
- Parameters:
- fieldslist
The fields of the message.
- metadict, optional
Additional metadata to be stored with the message. A typical use case is to store a “header”.
- Attributes:
- fieldslist
The fields of the message.
- metadict
Additional, editable metadata stored with the message.