[This is preliminary documentation and is subject to change.]
Sends a Dicom Messages while taking care of setting up and releasing an
association for it.
| C# | Visual Basic | Visual C++ |
protected bool SendAssociation( DicomMessageCollection dicomMessages, params PresentationContext[] presentationContexts )
Protected Function SendAssociation ( _ dicomMessages As DicomMessageCollection, _ ParamArray presentationContexts As PresentationContext() _ ) As Boolean
protected: bool SendAssociation( DicomMessageCollection^ dicomMessages, ... array<PresentationContext^>^ presentationContexts )
- dicomMessages (DicomMessageCollection)
- The Dicom Messages to send.
- presentationContexts (array< PresentationContext >[]()[])
- The presentation contexts to propose in the A-ASSOCIATE-RQ.
True indicates the other side has accepted the association, false indicates the other side
has rejected the association.
1. An A-ASSOCIATE-RQ is sent.
2. An A-ASSOCIATE-AC or A-ASSOCIATE-RJ is received.
Only when an A-ASSOCIATE-AC is received, steps 3, 4 and 5 are executed.
3. For each Dicom Message to send, it is sent and responses are received until the status is not pending anymore.
4. An A-RELEASE-RQ is sent.
5. An A-RELEASE-RP is received.
2. An A-ASSOCIATE-AC or A-ASSOCIATE-RJ is received.
Only when an A-ASSOCIATE-AC is received, steps 3, 4 and 5 are executed.
3. For each Dicom Message to send, it is sent and responses are received until the status is not pending anymore.
4. An A-RELEASE-RQ is sent.
5. An A-RELEASE-RP is received.
| Exception | Condition |
|---|---|
| Exception |
Sending or receiving of one of the Dul or Dicom messages fails or the flow of messages differs
from the flow described.
|