Event

class Event(name, sender_id, receiver_id, data=None)

The Event class is used to capture event information. Each event has a name, the id of the sending agent, the id of the receiving agent an optionally also some data (the actual payload).