comparison OrthancFramework/Sources/JobsEngine/JobsRegistry.cpp @ 5853:4d932683049d get-scu tip

very first implementation of C-Get SCU
author Alain Mazy <am@orthanc.team>
date Tue, 29 Oct 2024 17:25:49 +0100
parents f7adfb22e20e
children
comparison
equal deleted inserted replaced
5839:7aef730c0859 5853:4d932683049d
790 std::string(EnumerationToString(handler->GetState()))); 790 std::string(EnumerationToString(handler->GetState())));
791 throw OrthancException(ErrorCode_InternalError, details); 791 throw OrthancException(ErrorCode_InternalError, details);
792 } 792 }
793 } 793 }
794 794
795 LOG(INFO) << "New job submitted with priority " << priority << ": " << id; 795 std::string jobType;
796 handler->GetJob().GetJobType(jobType);
797
798 LOG(INFO) << "New " << jobType << " job submitted with priority " << priority << ": " << id;
796 799
797 if (observer_ != NULL) 800 if (observer_ != NULL)
798 { 801 {
799 observer_->SignalJobSubmitted(id); 802 observer_->SignalJobSubmitted(id);
800 } 803 }