pynetdicom._handlers.doc_handle_pdu¶
-
pynetdicom._handlers.
doc_handle_pdu
(event)¶ Documentation for handlers bound to
evt.EVT_PDU_RECV
orevt.EVT_PDU_SENT
.- Parameters
event (events.Event) –
Represents the DUL service provider sending or receiving a PDU.
Event
attributes are:assoc
: theassociation
that is running the service that received the user identity negotiation request.event
: the event that occurred asnamedtuple
.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_RQ
orP_DATA_TF
.timestamp
: the date and time that the negotiation request was processed by the ACSE.