pynetdicom._handlers.doc_handle_sop_extended

pynetdicom._handlers.doc_handle_sop_extended(event)

Documentation for handlers bound to evt.EVT_SOP_EXTENDED.

User implementation of this event handler is required only if SOP Class Extended Negotiation is to be supported by the association. If a handler is not implemented and bound to evt.EVT_SOP_EXTENDED then no response will be sent to the SOP Class Extended Negotiation request.

Event

evt.EVT_SOP_EXTENDED

Parameters:event (events.Event) –

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

  • app_info : the {SOP Class UID : Service Class Application Information} parameter values for the included items, with the service class application information being the raw encoded data sent by the requestor (as bytes).
  • assoc : the association that is running the service that received the user identity negotiation request.
  • event : the event that occurred as namedtuple.
  • timestamp : the date and time that the negotiation request was processed by the ACSE.
Returns:The {SOP Class UID : Service Class Application Information} parameter values to be sent in response to the request, with the service class application information being the encoded data that will be sent to the peer as-is. Return an empty dict if no response is to be sent.
Return type:dict of pydicom.uid.UID, bytes

References