pynetdicom._handlers.doc_handle_data¶
- pynetdicom._handlers.doc_handle_data(event: Event, *args: Sequence[Any]) None [source]¶
Documentation for handlers bound to
evt.EVT_DATA_RECV
orevt.EVT_DATA_SENT
.- Parameters:
event (events.Event) –
Represents data being sent to/received from the remote over the socket.
Event
attributes are:assoc
: theAssociation
that triggered the event.data
: the data sent to/received from the remote, asbytes
.event
: the event that occurred asNotificationEvent
.timestamp
: the date and time that the data was sent/received 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 alist
then there will be one or more optional extra parameters matching the contents of args.