pynetdicom.service_class_n.RTMachineVerificationServiceClass¶
- class pynetdicom.service_class_n.RTMachineVerificationServiceClass(assoc: Association)[source]¶
Implementation of the RT Machine Verification Service Class
Added in version 1.4.
- __init__(assoc: Association) None [source]¶
Create a new ServiceClass.
Methods
SCP
(req, context)The SCP implementation for RT Machine Verification 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: _PJ, context: PresentationContext) None [source]¶
The SCP implementation for RT Machine Verification Service Class.
- Parameters:
req (dimse_primitives.N_CREATE or N_SET or N_DELETE or N_GET or N_EVENT_REPORT or N_ACTION) – The N-CREATE, N-SET, N-GET, N-DELETE, N-ACTION or N-EVENT-REPORT request primitive sent by the peer.
context (presentation.PresentationContext) – The presentation context that the service is operating under.