Table of Contents

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 DicomDataset

Dataset representing the request command.

DicomRequest(DicomCommandField, DicomUID)

Initializes a new instance of the DicomRequest class.

protected DicomRequest(DicomCommandField type, DicomUID requestedClassUid)

Parameters

type DicomCommandField

The command field type.

requestedClassUid DicomUID

The 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

EventHandler<DicomRequest.OnRequestSentEventArgs>

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

EventHandler<DicomRequest.OnTimeoutEventArgs>

Properties

MessageID

Gets or sets the request message ID.

public ushort MessageID { get; protected set; }

Property Value

ushort

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 DicomService

Active DICOM service.

response DicomResponse

Response to be post-processed.