pynetdicom.events.NotificationEvent

class pynetdicom.events.NotificationEvent(name: str, description: str, is_intervention: bool = False, is_notification: bool = True)[source]

Representation of a notification event.

Added in version 1.3.

Possible notification events are:

  • EVT_ABORTED

  • EVT_ACCEPTED

  • EVT_ACSE_RECV

  • EVT_ACSE_SENT

  • EVT_CONN_CLOSE

  • EVT_CONN_OPEN

  • EVT_DATA_RECV

  • EVT_DATA_SENT

  • EVT_DIMSE_RECV

  • EVT_DIMSE_SENT

  • EVT_ESTABLISHED

  • EVT_FSM_TRANSITION

  • EVT_PDU_RECV

  • EVT_PDU_SENT

  • EVT_REJECTED

  • EVT_RELEASED

  • EVT_REQUESTED

__init__()

Methods

__init__()

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

Attributes

description

Alias for field number 1

is_intervention

Alias for field number 2

is_notification

Alias for field number 3

name

Alias for field number 0

description: str

Alias for field number 1

is_intervention: bool

Alias for field number 2

is_notification: bool

Alias for field number 3

name: str

Alias for field number 0