DicomObjects.NET.8.48 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 System.Boolean
    'Usage
     
    
    Dim instance As DicomContext
    Dim value As System.Boolean
     
    instance.RequestorSCPRole = value
     
    value = instance.RequestorSCPRole
    public System.bool RequestorSCPRole {get; set;}
    public read-write property RequestorSCPRole: System.Boolean; 
    public function get,set RequestorSCPRole : System.boolean
    public: __property System.bool get_RequestorSCPRole();
    public: __property void set_RequestorSCPRole( 
       System.bool value
    );
    public:
    property System.bool RequestorSCPRole {
       System.bool get();
       void set (    System.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: .NET CLR 4.8 or higher

    See Also