pynetdicom.service_class.StorageServiceClass#
- class pynetdicom.service_class.StorageServiceClass(assoc: Association)[source]#
 Implementation of the Storage Service Class.
- __init__(assoc: Association) None[source]#
 Create a new ServiceClass.
Methods
SCP(req, context)The SCP implementation for the Storage 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
Trueif status is valid for the service class.validate_status(status, rsp)Validate status and set rsp.Status accordingly.
Attributes
aeReturn the AE.
dimseReturn the DIMSE service provider.
statusesuid- SCP(req: C_STORE, context: PresentationContext) None[source]#
 The SCP implementation for the Storage Service Class.
- Parameters:
 req (dimse_primitives.C_STORE) – The C-STORE request primitive sent by the peer.
context (presentation.PresentationContext) – The presentation context that the SCP is operating under.