pynetdicom.service_class.QueryRetrieveServiceClass

class pynetdicom.service_class.QueryRetrieveServiceClass(assoc: Association)[source]

Implementation of the Query/Retrieve Service Class.

__init__(assoc: Association) None[source]

Create a new ServiceClass.

Methods

SCP(req, context)

The SCP implementation for the Query/Retrieve Service Class.

__init__(assoc)

Create a new ServiceClass.

is_cancelled(msg_id)

Return True if a C-CANCEL message with msg_id has been received.

is_valid_status(status)

Return True if status is valid for the service class.

validate_status(status, rsp)

Validate status and set rsp.Status accordingly.

Attributes

ae

Return the AE.

dimse

Return the DIMSE service provider.

statuses

SCP(req: _QR, context: PresentationContext) None[source]

The SCP implementation for the Query/Retrieve Service Class.

Parameters