Class DicomRequest
- Namespace
- FellowOakDicom.Network
- Assembly
- fo-dicom.core.dll
Base class for DIMSE-C and DIMSE-N request items.
public abstract class DicomRequest : DicomMessage
- Inheritance
-
DicomRequest
- Derived
- Inherited Members
- Extension Methods
Constructors
DicomRequest(DicomDataset)
Initializes a new instance of the DicomRequest class.
protected DicomRequest(DicomDataset command)
Parameters
command
DicomDatasetDataset representing the request command.
DicomRequest(DicomCommandField, DicomUID)
Initializes a new instance of the DicomRequest class.
protected DicomRequest(DicomCommandField type, DicomUID requestedClassUid)
Parameters
type
DicomCommandFieldThe command field type.
requestedClassUid
DicomUIDThe requested Class Uid.
Fields
OnRequestSent
Event handler for when DICOM requests are sent This will be triggered when the request is fully sent over the wire to the SCP
public EventHandler<DicomRequest.OnRequestSentEventArgs> OnRequestSent
Field Value
OnTimeout
Event handler for when this DICOM request times out. This will be triggered when the server takes too long to respond, or when it takes us too long to send the request in the first place.
public EventHandler<DicomRequest.OnTimeoutEventArgs> OnTimeout
Field Value
Properties
MessageID
Gets or sets the request message ID.
public ushort MessageID { get; protected set; }
Property Value
Methods
CreatePresentationContext(params DicomTransferSyntax[])
Create presentation of the request using specific transfer syntax instead of relying on the default offered Explicit Little Endian, Implicit Littile Endian sequeunce
public void CreatePresentationContext(params DicomTransferSyntax[] transferSyntaxes)
Parameters
transferSyntaxes
DicomTransferSyntax[]The list of proposed transfer syntaxes
PostResponse(DicomService, DicomResponse)
Operation to perform after response has been made.
protected abstract void PostResponse(DicomService service, DicomResponse response)
Parameters
service
DicomServiceActive DICOM service.
response
DicomResponseResponse to be post-processed.