pynetdicom.service_class.VerificationServiceClass¶
- 
class pynetdicom.service_class.VerificationServiceClass(assoc)[source]¶
- Implementation of the Verification Service Class. - Methods - SCP(req, context)- The SCP implementation for the 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 - Trueif 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, context)[source]¶
- The SCP implementation for the Verification Service Class. - Will always return 0x0000 (Success) unless the user returns a different (valid) status value from the handler bound to evt.EVT_C_ECHO. - Parameters
- req (dimse_primitives.C_ECHO) – The C-ECHO request primitive sent by the peer. 
- context (presentation.PresentationContext) – The presentation context that the SCP is operating under. 
 
 
 
-