DicomObjects Reference
DicomObjects Reference / DicomServer Object / AssociationClosed Event
The connection which has been closed
In This Topic
    AssociationClosed Event
    In This Topic
    Description
    fired when an incoming association is closed
    Syntax
    Visual Basic
    Public Event AssociationClosed( _
       ByVal Connection As DicomConnection _
    )
    Parameters
    Connection
    The connection which has been closed
    Remarks

    At the time this event fires, the association has closed, but the associated DicomConnection object still exists, so it’s properties are all still available.
    When acting as a print SCP, this event is useful, as the DICOM standard allows all associated objects created during the association to be deleted once the association closes

    With the sole exception of applications acting as a print service SCP, DICOM specifically bars any application from making any assumptions about the organisation of incoming data based on the association on which it arrives – to quote part 4 (section B.4):

    “…an SCP of the Storage SOP Classes may not attach any significance to the particular association or associations over which C-STORE operations are requested, nor the order in which C-STORE operations occur within an association. No constraints are placed on the operations an SCU may perform during any particular association, other than those defined during association negotiation. An SCP may not expect an SCU to perform C-STORE operations in a particular order.
    Similarly, no semantics are attached to the closing of an Association, such as the end of Study or Performed Procedure.”

    Therefore, if this event is used for any purpose other than a print SCP, any actions taken within it are most likely to be violations of the DICOM standard.

    See Also