Interface IDicomCStoreProvider
- Namespace
- FellowOakDicom.Network
- Assembly
- fo-dicom.core.dll
Interface for a DICOM C-STORE Service Class Provider.
public interface IDicomCStoreProvider
- Extension Methods
Methods
OnCStoreRequestAsync(DicomCStoreRequest)
Callback for each Sop Instance received. The default implementation of DicomService is to write a temporary file that is automatically deleted for each SopInstance received. See the documentation for DicomService.CreateCStoreReceiveStream() and DicomService.GetCStoreDicomFile() for information about changing this behavior (e.g. writing to your own custom stream and avoiding the temporary file)
Task<DicomCStoreResponse> OnCStoreRequestAsync(DicomCStoreRequest request)
Parameters
request
DicomCStoreRequestC-STORE request.
Returns
- Task<DicomCStoreResponse>
C-STORE response.
OnCStoreRequestExceptionAsync(string, Exception)
Callback for exceptions raised during the parsing of the received SopInstance. Note that it is possible to avoid parsing the file by overriding DicomService.GetCStoreDicomFile() if desired.
Task OnCStoreRequestExceptionAsync(string tempFileName, Exception e)