pynetdicom.pdu_primitives.AsynchronousOperationsWindowNegotiation

class pynetdicom.pdu_primitives.AsynchronousOperationsWindowNegotiation[source]

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.

Examples

>>> from pynetdicom.pdu_primitives import (
...     AsynchronousOperationsWindowNegotiation
... )
>>> item = AsynchronousOperationsWindowNegotiation()
>>> item.maximum_number_operations_invoked = 2
>>> item.maximum_number_operations_performed = 1

References

__init__() None[source]

Methods

__init__()

from_primitive()

Convert the primitive to a PDU item ready to be encoded.

Attributes

maximum_number_operations_invoked

Get or set the Maximum Number Operations Invoked.

maximum_number_operations_performed

Get or set the Maximum Number Operations Performed.

from_primitive() AsynchronousOperationsWindowSubItem[source]

Convert the primitive to a PDU item ready to be encoded.

Returns

item

Return type

pdu_items.AsynchronousOperationsWindowSubItem

property maximum_number_operations_invoked: int

Get or set the Maximum Number Operations Invoked.

Parameters

value (int) – The maximum number of operations invoked

Raises
property maximum_number_operations_performed: int

Get or set the Maximum Number Operations Performed.

Parameters

value (int) – The maximum number of operations performed

Raises