DicomObjects.NET Core Documentation
DicomObjects Namespace / DicomContext Class / RequestorSCPRole Property



In This Topic
    RequestorSCPRole Property
    In This Topic
    Used for reverse role negotiation
    Syntax
    'Declaration
     
    
    Public Property RequestorSCPRole As Boolean
    'Usage
     
    
    Dim instance As DicomContext
    Dim value As Boolean
     
    instance.RequestorSCPRole = value
     
    value = instance.RequestorSCPRole
    public bool RequestorSCPRole {get; set;}
    public:
    property bool RequestorSCPRole {
       bool get();
       void set (    bool value);
    }

    Property Value

    True if reverse role negotiation is to be supported
    Remarks

    Normally in DICOM, the requester of an association becomes the SCU, and the acceptor becomes the SCP, but there are some situations (notably Storage Commitment), where this relationship needs to be reversed (or it is possible for both applications to adopt both roles). In DicomObejcts, this is achieved using these properties, and is only possible (for outgoing operations) using an association based on an explicit DicomAssociation.

    To propose reverse role negotiation, DicomContext items must be created explicitly, and the contexts' RequestorSCURole should be set to false, and the RequestorSCPRole should be set to true.

    When accepting associations, DicomObjects's default action is to accept whatever roles are proposed by the requester, but this may be over-ridden in the AssociationRequest event by modifying these properties of any of the proposed contexts.

    Once an association is established, these properties become read-only, but still reflect the arrangement negotiated.

    Please note that these properties are shared between all contexts with the same AbstractSyntax (SOP Class), so changing one will change the value for any other matching contexts.

    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also