tea_cah/constants.py
2021-12-12 16:45:52 +02:00

13 lines
353 B
Python

import enum
class logmessage_types(enum.Enum):
sent, received, internal, status = range(4)
class internal_submessage_types(enum.Enum):
quit, error, server = range(3)
class controlmessage_types(enum.Enum):
quit, reconnect, send_line, ping, ping_timeout = range(5)
class cronmessage_types(enum.Enum):
quit, schedule, delete, reschedule = range(4)