pynetdicom._handlers.doc_handle_transport

pynetdicom._handlers.doc_handle_transport(event: Event, *args: Sequence[Any]) None

Documentation for handlers bound to evt.EVT_CONN_OPEN or evt.EVT_CONN_CLOSE.

Parameters:
  • event (events.Event) –

    Represents opening or closing a transport connection. Event attributes are:

    • address: the (host, port) of the remote as (str, int).

    • assoc: the Association that triggered the event.

    • event: the event that occurred as NotificationEvent.

    • timestamp: the date and time that the connection was opened/closed as datetime.datetime.

  • args – If the handler was bound to the event using bind(event, handler, args) or by passing evt_handlers=[(event, handler, args), ...], where args is a list then there will be one or more optional extra parameters matching the contents of args.