pynetdicom.pdu_primitives.AsynchronousOperationsWindowNegotiation¶
-
class
pynetdicom.pdu_primitives.AsynchronousOperationsWindowNegotiation[source][source]¶ A 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 item
Identical 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 (default 1)
Type: int
-
maximum_number_operations_performed¶ The maximum number of asynchronous operations performed by the AE. A value of 0 indicates unlimited operations (default 1)
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
Methods
__init__()Initialize self. from_primitive()Convert the primitive to a PDU item ready to be encoded. Attributes
maximum_number_operations_invokedReturn the Maximum Number Operations Invoked. maximum_number_operations_performedReturn the Maximum Number Operations Performed. -
from_primitive()[source][source]¶ Convert the primitive to a PDU item ready to be encoded.
Returns: item Return type: pdu_items.AsynchronousOperationsWindowSubItem
-
maximum_number_operations_invoked Return the Maximum Number Operations Invoked.
-
maximum_number_operations_performed Return the Maximum Number Operations Performed.
-