public abstract class TransferSyntaxSelectionPolicy
extends java.lang.Object
Concrete sub-classes of this abstract class accept or reject Presentation Contexts from a list based on their Transfer Syntax.
Constructor and Description |
---|
TransferSyntaxSelectionPolicy() |
Modifier and Type | Method and Description |
---|---|
java.util.LinkedList |
applyExplicitTransferSyntaxPreferencePolicy(java.util.LinkedList presentationContexts,
int associationNumber,
int debugLevel)
Reject Implicit VR Presentation Contexts when multiple Presentation Contexts are offered for the same Abstract Syntax, if possible.
|
abstract java.util.LinkedList |
applyTransferSyntaxSelectionPolicy(java.util.LinkedList presentationContexts,
int associationNumber,
int debugLevel)
Accept or reject Presentation Contexts, based on TransferSyntax.
|
public abstract java.util.LinkedList applyTransferSyntaxSelectionPolicy(java.util.LinkedList presentationContexts, int associationNumber, int debugLevel)
applyExplicitTransferSyntaxPreferencePolicy()
.
Does not change the Abstract Syntax.presentationContexts
- a java.util.LinkedList of PresentationContext
objects,
each of which contains an Abstract Syntax (SOP Class UID) with one or more Transfer SyntaxesassociationNumber
- for debugging messagesdebugLevel
- PresentationContext
objects,
as supplied but with the Transfer Syntax list culled to the one preferred
Transfer Syntax (or empty if none acceptable)
and the result/reason field left alone if one of the Transfer Syntaxes was acceptable, or set to
"transfer syntaxes not supported (provider rejection)"public java.util.LinkedList applyExplicitTransferSyntaxPreferencePolicy(java.util.LinkedList presentationContexts, int associationNumber, int debugLevel)
applyTransferSyntaxSelectionPolicy()
.presentationContexts
- a java.util.LinkedList of PresentationContext
objects,
each of which contains a single (accepted) Transfer SyntaxassociationNumber
- for debugging messagesdebugLevel
- PresentationContext
objects,
as supplied but with any Presentation Context with an Implicit VR Transfer Syntax
for which there is another Presentation Context with an Explicit VR Transfer Syntax
rejected with the result/reason field set to
"no reason (provider rejection)"