Search Results for

    Show / Hide Table of Contents

    Class DicomRequest

    Base class for DIMSE-C and DIMSE-N request items.

    Inheritance
    Object
    DicomMessage
    DicomRequest
    DicomCEchoRequest
    DicomNActionRequest
    DicomNCreateRequest
    DicomNDeleteRequest
    DicomNEventReportRequest
    DicomNGetRequest
    DicomNSetRequest
    DicomPriorityRequest
    Inherited Members
    DicomMessage.Type
    DicomMessage.SOPClassUID
    DicomMessage.HasDataset
    DicomMessage.PresentationContext
    DicomMessage.ApplicationInfo
    DicomMessage.Command
    DicomMessage.Dataset
    DicomMessage.UserState
    DicomMessage.PendingSince
    DicomMessage.LastPDUSent
    DicomMessage.LastPendingResponseReceived
    DicomMessage.IsTimedOut(TimeSpan)
    DicomMessage.ToString()
    DicomMessage.ToString(Boolean)
    DicomMessage.ToString(DicomCommandField)
    DicomMessage.IsRequest(DicomCommandField)
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    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.

    In This Article
    Back to top Copyright (c) 2012-2021 fo-dicom contributors