pynetdicom._handlers.doc_handle_pdu#
- pynetdicom._handlers.doc_handle_pdu(event: Event, *args: Sequence[Any]) None[source]#
Documentation for handlers bound to
evt.EVT_PDU_RECVorevt.EVT_PDU_SENT.- Parameters:
event (events.Event) –
Represents the DUL service provider sending or receiving a PDU.
Eventattributes are:assoc: theAssociationthat triggered the event.event: the event that occurred asNotificationEvent.pdu: the PDU sent to or received from the peer. One of:A_ASSOCIATE_RQ,A_ASSOCIATE_RJ,A_ASSOCIATE_AC,A_RELEASE_RQ,A_RELEASE_RP,A_ABORT_RQorP_DATA_TF.timestamp: the date and time that the PDU was processed 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.