pynetdicom._handlers.doc_handle_fsm#
- pynetdicom._handlers.doc_handle_fsm(event: Event, *args: Sequence[Any]) None[source]#
Documentation for handlers bound to
evt.EVT_FSM_TRANSITION.- Parameters:
event (events.Event) –
Represents the state machine receiving a triggering event and being about to perform the action that will take it to the next state.
Eventattributes are:action: the name of the action that’s to be performed asstr.assoc: theAssociationthat triggered the event.current_state: the current state of the state machine asstr.event: the event that occurred asNotificationEvent.fsm_event: the name of the state machine event that occurred, triggering the transition asstr.next_state: the state the state machine will be in after the action has been performed asstr.timestamp: the date and time that the FSM transition occurred asdatetime.datetime.
args – If the handler was bound to the event using
bind(event, handler, args)or by passingevt_handlers=[(event, handler, args), ...], where args is alistthen there will be one or more optional extra parameters matching the contents of args.