comparison Core/DicomNetworking/DicomControlUserConnection.cpp @ 3870:09798f2b985f transcoding

added a Timeout argument to every DICOM command + 'TargetAet' not mandatory anymore in /retrieve
author Alain Mazy <alain@mazy.be>
date Wed, 29 Apr 2020 12:26:51 +0200
parents 138d0dde41b5
children 2effa961f67f
comparison
equal deleted inserted replaced
3869:c23ef85c7d9c 3870:09798f2b985f
667 query.SetValue(DICOM_TAG_SERIES_INSTANCE_UID, seriesUid, false); 667 query.SetValue(DICOM_TAG_SERIES_INSTANCE_UID, seriesUid, false);
668 query.SetValue(DICOM_TAG_SOP_INSTANCE_UID, instanceUid, false); 668 query.SetValue(DICOM_TAG_SOP_INSTANCE_UID, instanceUid, false);
669 MoveInternal(targetAet, ResourceType_Instance, query); 669 MoveInternal(targetAet, ResourceType_Instance, query);
670 } 670 }
671 671
672 void DicomControlUserConnection::SetTimeout(uint32_t seconds)
673 {
674 parameters_.SetTimeout(seconds);
675 }
672 676
673 void DicomControlUserConnection::FindWorklist(DicomFindAnswers& result, 677 void DicomControlUserConnection::FindWorklist(DicomFindAnswers& result,
674 ParsedDicomFile& query) 678 ParsedDicomFile& query)
675 { 679 {
676 DcmDataset* dataset = query.GetDcmtkObject().getDataset(); 680 DcmDataset* dataset = query.GetDcmtkObject().getDataset();