pynetdicom.fsm.StateMachine¶
- class pynetdicom.fsm.StateMachine(dul: DULServiceProvider)[source]¶
Implementation of the DICOM Upper Layer State Machine.
- dul¶
The DICOM Upper Layer service instance for the local AE
- Type:
References
DICOM Standard, Part 8, Section 9.2
- __init__(dul: DULServiceProvider)[source]¶
Create a new
StateMachine
.- Parameters:
dul (dul.DULServiceProvider) – The DICOM Upper Layer Service instance for the association.
Methods
__init__
(dul)Create a new
StateMachine
.do_action
(event)Execute the action triggered by event.
transition
(state)Transition the state machine to the next state.