pynetdicom._handlers.doc_handle_pdu¶
- 
pynetdicom._handlers.doc_handle_pdu(event, *args)[source]¶
- Documentation for handlers bound to - evt.EVT_PDU_RECVor- evt.EVT_PDU_SENT.- Parameters
- event (events.Event) – - Represents the DUL service provider sending or receiving a PDU. - Eventattributes are:- assoc: the- Associationthat triggered the event.
- event: the event that occurred as- NotificationEvent.
- 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_RQor- P_DATA_TF.
- timestamp: the date and time that the PDU was processed 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- listthen there will be one or more optional extra parameters matching the contents of args.