pynetdicom._handlers.doc_handle_data¶
- 
pynetdicom._handlers.doc_handle_data(event, *args)[source]¶
- Documentation for handlers bound to - evt.EVT_DATA_RECVor- evt.EVT_DATA_SENT.- Parameters
- event (events.Event) – - Represents data being sent to/received from the remote over the socket. - Eventattributes are:- assoc: the- Associationthat triggered the event.
- data: the data sent to/received from the remote, as- bytes.
- event: the event that occurred as- NotificationEvent.
- timestamp: the date and time that the data was sent/received 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.