pynetdicom._handlers.doc_handle_sop_common

pynetdicom._handlers.doc_handle_sop_common(event)

Documentation for handlers bound to evt.EVT_SOP_COMMON.

User implementation of this event handler is required only if SOP Class Common Extended Negotiation is to be supported by the association.

Event

evt.EVT_SOP_COMMON

Parameters:event (events.Event) –

The event representing an association request being received which contains one or more SOP Class Common Extended Negotiation items. Event attributes are:

  • assoc : the association that received the SOP Class Common Extended Negotiation request.
  • event : the event that occurred as namedtuple.
  • items : the {SOP Class UID : SOP Class Common Extended Negotiation} items sent by the requestor.
  • timestamp : the date and time that the negotiation request was processed by the ACSE.
Returns:The {SOP Class UID : SOP Class Common Extended Negotiation} items accepted by the acceptor. When receiving DIMSE messages containing datasets corresponding to the SOP Class UID in an accepted item the corresponding Service Class will be used (if available).
Return type:dict

References