add docstrings to state enum

This commit is contained in:
Stefan Allius
2024-06-16 22:43:59 +02:00
parent 8aa1ef59ce
commit d14cbe87a2

View File

@@ -54,9 +54,15 @@ class IterRegistry(type):
class State(Enum):
'''state of the logical connection'''
init = 0
'''just created'''
received = 1
'''at least one packet received'''
up = 2
'''at least one cmd-rsp transaction'''
closed = 3
'''connection closed'''
class Message(metaclass=IterRegistry):