/// <summary> /// Set the way in which the Acquisition Modality should respond to an Associate Request from the actor name. /// </summary> /// <param name="fromActorName">Actor Name that makes a connection to this DICOM Server.</param> /// <param name="respondEnum">Enum defining how to respond.</param> /// <remarks>The fromActorName type is always the ImageManager at the moment - no other actors connect to the Acquisition /// Modality at the moment. The caller does need to supply fromActorName as the Id component is not known by default.</remarks> public void SetRespondToAssociateRequestForDicomServer(ActorName fromActorName, HliScp.ScpRespondToAssociateRequestEnum respondEnum) { // // Get the DICOM server within the acquisition modality that handles the DICOM association from the actor name. // DicomServer dicomServer = _acquisitionModality.GetDicomServer(fromActorName); if (dicomServer != null) { // // Set how the DICOM Server should respond to the Associate Request from the actor name. // dicomServer.SetRespondToAssociateRequest(respondEnum); } }