internal override void PostResponse(DicomService service, DicomResponse response) { try { if (OnResponseReceived != null) OnResponseReceived(this, (DicomNActionResponse)response); } catch { } }
protected internal override void PostResponse(DicomService service, DicomResponse response) { try { if (OnResponseReceived != null) OnResponseReceived(this, (DicomNEventReportResponse)response); } catch { } }
/// <summary> /// Invoke the event handler upon receiving a N-EVENTREPORT response. /// </summary> /// <param name="service">Associated DICOM service.</param> /// <param name="response">N-EVENTREPORT response.</param> protected internal override void PostResponse(DicomService service, DicomResponse response) { try { if (OnResponseReceived != null) { OnResponseReceived(this, (DicomNEventReportResponse)response); } } catch { } }
public PDataTFStream(DicomService service, byte pcid, uint max) { _service = service; _command = true; _pcid = pcid; _pduMax = Math.Min(max, Int32.MaxValue); _max = (_pduMax == 0) ? _service.Options.MaxCommandBuffer : Math.Min(_pduMax, _service.Options.MaxCommandBuffer); _pdu = new PDataTF(); // Max PDU Size - Current Size - Size of PDV header _bytes = new byte[_max - CurrentPduSize() - 6]; }
internal override void PostResponse(DicomService service, DicomResponse response) { try { if (OnResponseReceived != null) { OnResponseReceived(this, (DicomCFindResponse)response); } } catch { } }
public RunningDicomService(DicomService service, Task task) { Service = service ?? throw new ArgumentNullException(nameof(service)); Task = task ?? throw new ArgumentNullException(nameof(task)); }
/// <summary> /// Operation to perform after response has been made. /// </summary> /// <param name="service">Active DICOM service.</param> /// <param name="response">Response to be post-processed.</param> protected internal abstract void PostResponse(DicomService service, DicomResponse response);
internal abstract void PostResponse(DicomService service, DicomResponse response);