pynetdicom.pdu_primitives.MaximumLengthNotification

class pynetdicom.pdu_primitives.MaximumLengthNotification

A representation of a Maximum Length Negotiation primitive.

The maximum length notification allows communicating AEs to limit the size of the data for each P-DATA indication. This notification is required for all DICOM v3.0 conforming implementations.

This User Information item is required during Association negotiation and there must only be a single MaximumLengthNotification item

maximum_length_received

The maximum length received value for the Maximum Length sub-item in bytes. A value of 0 indicates unlimited length (31682 bytes default).

Type

int

References

  • DICOM Standard, Part 7, Annex D.3.3.1

  • DICOM Standard, Part 8, Annex D.1

__init__()

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__()

Initialize self.

from_primitive()

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

Attributes

maximum_length_received

Return the Maximum Length Received.

from_primitive()

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

Returns

item

Return type

pdu_items.MaximumLengthSubItem

property maximum_length_received

Return the Maximum Length Received.