negmas.events Module

Implements Event management

Classes

Event(type, data)

An event that can be raised and consumed

EventSource()

An object capable of raising events

EventSink()

An object capable of receiving events

EventLogger(file_name, pathlib.Path], types)

Logs events to a file

Notification(type, data)

Notifier(name, *, id)

An object that can notify other objects

Notifiable()

An object that can be notified

Class Inheritance Diagram

Inheritance diagram of negmas.events.Event, negmas.events.EventSource, negmas.events.EventSink, negmas.events.EventLogger, negmas.events.Notification, negmas.events.Notifier, negmas.events.Notifiable