pynetdicom._handlers.doc_handle_assoc¶
- pynetdicom._handlers.doc_handle_assoc(event: Event, *args: Sequence[Any]) None [source]¶
Documentation for handlers bound to
evt.EVT_ACCEPTED
,evt.EVT_ESTABLISHED
,evt.EVT_REJECTED
,evt.EVT_REQUESTED
,evt.EVT_RELEASED
orevt.EVT_ABORTED
.- Parameters:
event (events.Event) –
Represents moving to one of the main association states. Event attributes are:
assoc
: theAssociation
that triggered the event.event
: the event that occurred asNotificationEvent
.timestamp
: the date and time that the association status changed 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 alist
then there will be one or more optional extra parameters matching the contents of args.