pynetdicom.events.Event¶
- class pynetdicom.events.Event(assoc, event, attrs=None)[source][source]¶
Representation of an event.
- assoc¶
The association in which the event occurred.
- timestamp¶
The date/time the event was created. Will be slightly before or after the actual event that this object represents.
- Type
- __init__(assoc, event, attrs=None)[source][source]¶
Create a new Event.
- Parameters
assoc (association.Association) – The association in which the event occurred.
event (events.NotificationEvent or events.InterventionEvent) – The representation of the event that occurred.
attrs (dict, optional) – The {attribute : value} pairs to use to set the Event’s attributes.
Methods
__init__(assoc, event[, attrs])Create a new Event.
Attributes
action_informationReturn an N-ACTION request's Action Information as a pydicom Dataset.
attribute_identifiersReturn an N-GET request's Attribute Identifier List as a list of pydicom Tags.
attribute_listReturn an N-CREATE request's Attribute List as a pydicom Dataset.
datasetReturn a C-STORE request's Data Set as a pydicom Dataset.
descriptionReturn a description of the event as a str.
event_informationReturn an N-EVENT-REPORT request's Event Information as a pydicom Dataset.
file_metaReturn a pydicom Dataset with the File Meta Information for a C-STORE request's Data Set.
identifierReturn a C-FIND, C-GET or C-MOVE request's Identifier as a pydicom Dataset.
is_cancelledReturn True if a C-CANCEL request has been received.
modification_listReturn an N-SET request's Modification List as a pydicom Dataset.
nameReturn the name of the event as a str.