pynetdicom._handlers.doc_handle_transport¶
- pynetdicom._handlers.doc_handle_transport(event: Event, *args: Sequence[Any]) None [source]¶
Documentation for handlers bound to
evt.EVT_CONN_OPEN
orevt.EVT_CONN_CLOSE
.- Parameters:
event (events.Event) –
Represents opening or closing a transport connection. Event attributes are:
assoc
: theAssociation
that triggered the event.event
: the event that occurred asNotificationEvent
.timestamp
: the date and time that the connection was opened/closed 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.