pynetdicom.pdu_primitives.AsynchronousOperationsWindowNegotiation¶
- class pynetdicom.pdu_primitives.AsynchronousOperationsWindowNegotiation¶
Representation of the Asynchronous Operations Window Negotiation primitive.
Allows peer AEs to negotiate the maximum number of outstanding operation or sub-operation requests. This negotiation is optional.
The Asynchronous Operations Window is optional and there may only be a single
AsynchronousOperationsWindowNegotiation
itemIdentical for both A-ASSOCIATE-RQ and A-ASSOCIATE-AC.
- maximum_number_operations_invoked¶
The maximum number of asynchronous operations invoked by the AE. A value of
0
indicates unlimited operations (default1
)- Type
int
- maximum_number_operations_performed¶
The maximum number of asynchronous operations performed by the AE. A value of
0
indicates unlimited operations (default1
)- Type
int
Examples
>>> from pynetdicom.pdu_primitives import ( ... AsynchronousOperationsWindowNegotiation ... ) >>> item = AsynchronousOperationsWindowNegotiation() >>> item.maximum_number_operations_invoked = 2 >>> item.maximum_number_operations_performed = 1
References
DICOM Standard, Part 7, Annex D.3.3.3
- __init__()¶
Initialize self. See help(type(self)) for accurate signature.
Methods
__init__
()Initialize self.
Convert the primitive to a PDU item ready to be encoded.
Attributes
Return the Maximum Number Operations Invoked.
Return the Maximum Number Operations Performed.
- from_primitive()¶
Convert the primitive to a PDU item ready to be encoded.
- Returns
item
- Return type
- property maximum_number_operations_invoked¶
Return the Maximum Number Operations Invoked.
- property maximum_number_operations_performed¶
Return the Maximum Number Operations Performed.