Class DicomRequest
Base class for DIMSE-C and DIMSE-N request items.
Inheritance
Inherited Members
Namespace: Dicom.Network
Assembly: cs.temp.dll.dll
Syntax
public abstract class DicomRequest : DicomMessage
Constructors
DicomRequest(DicomDataset)
Initializes a new instance of the DicomRequest class.
Declaration
protected DicomRequest(DicomDataset command)
Parameters
Type | Name | Description |
---|---|---|
DicomDataset | command | Dataset representing the request command. |
DicomRequest(DicomCommandField, DicomUID)
Initializes a new instance of the DicomRequest class.
Declaration
protected DicomRequest(DicomCommandField type, DicomUID requestedClassUid)
Parameters
Type | Name | Description |
---|---|---|
DicomCommandField | type | The command field type. |
DicomUID | requestedClassUid | The requested Class Uid. |
Fields
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.
Declaration
public EventHandler<DicomRequest.OnTimeoutEventArgs> OnTimeout
Field Value
Type | Description |
---|---|
EventHandler<DicomRequest.OnTimeoutEventArgs> |
Properties
MessageID
Gets or sets the request message ID.
Declaration
public ushort MessageID { get; protected set; }
Property Value
Type | Description |
---|---|
UInt16 |
Methods
CreatePresentationContext(DicomTransferSyntax[])
Create presentation of the request using specific transfer syntax instead of relying on the default offered Explicit Little Endian, Implicit Littile Endian sequeunce
Declaration
public void CreatePresentationContext(params DicomTransferSyntax[] transferSyntaxes)
Parameters
Type | Name | Description |
---|---|---|
DicomTransferSyntax[] | transferSyntaxes | The list of proposed transfer syntaxes |
PostResponse(DicomService, DicomResponse)
Operation to perform after response has been made.
Declaration
protected abstract void PostResponse(DicomService service, DicomResponse response)
Parameters
Type | Name | Description |
---|---|---|
DicomService | service | Active DICOM service. |
DicomResponse | response | Response to be post-processed. |