/// <summary> /// SetRespondToReleaseRequest - define how the SCP should react to the Release Request. /// </summary> /// <param name="scpRespondToReleaseRequest">scpRespondToReleaseRequest enum.</param> public void SetRespondToReleaseRequest(HliScp.ScpRespondToReleaseRequestEnum scpRespondToReleaseRequest) { if (_scp != null) { _scp.RespondToReleaseRequest = scpRespondToReleaseRequest; } }
/// <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); } }
/// <summary> /// SetRespondToAssociateRequest - define how the SCP should react to the Associate Request. /// </summary> /// <param name="scpRespondToAssociateRequest">scpRespondToAssociateRequest enum.</param> public void SetRespondToAssociateRequest(HliScp.ScpRespondToAssociateRequestEnum scpRespondToAssociateRequest) { if (_scp != null) { _scp.RespondToAssociateRequest = scpRespondToAssociateRequest; } }