Msg.py – Message

Message class to bundle all needed information to pass messages between devices. Provides initialization and getter methods.

Classes

Msg

class Msg.Msg(sender, receiver, message, timestamp)[source]
Parameters:
  • sender – Dictionary including all sender information.
  • receiver – Dictionary including all receiver information.
  • message – Dictionary including all message information.
  • timestamp – Timestamp to be used when message is inserted into .pcap.