pynetdicom._handlers.doc_handle_echo¶
- pynetdicom._handlers.doc_handle_echo(event)[source][source]¶
Documentation for handlers bound to
evt.EVT_C_ECHO.User implementation of this event handler is optional. If a handler is not implemented and bound to
evt.EVT_C_ECHOthen the C-ECHO request will be responded to using a Status value of0x0000- Success.Event
evt.EVT_C_ECHO
Supported Service Classes
Verification Service Class
Status
- Success
0x0000Success- Failure
0x0122Refused: SOP Class Not Supported0x0210Refused: Duplicate Invocation0x0211Refused: Unrecognised Operation0x0212Refused: Mistyped Argument
- Parameters
event (events.Event) –
The event representing a service class receiving a C-ECHO request message.
Eventattributes are:assoc: theassociationthat is running the DICOM service that received the C-ECHO request.context: the presentation context the request was sent under as apresentation.PresentationContextTuple.description: a description of the event that occurred as str.name: the name of the event that occurred as str.request: the receivedC-ECHO requesttimestamp: the date and time that the C-ECHO request was processed by the service.
- Returns
status – The status returned to the peer AE in the C-ECHO response. Must be a valid C-ECHO status value for the applicable Service Class as either an
intor aDatasetobject containing (at a minimum) a (0000,0900) Status element. If returning aDatasetobject then it may also contain optional elements related to the Status (as in the DICOM Standard Part 7, Annex C).- Return type
See also
send_c_echo()C_ECHOVerificationServiceClassReferences