IPWorks IPC 2020 Python Edition

Questions / Feedback?

record_length Property

The length of received data records.


def get_record_length() -> int: ...
def set_record_length(value: int) -> None: ...

record_length = property(get_record_length, set_record_length)

Default Value



If set to a positive value, this property defines the length of data records to be received. The class will accumulate data until RecordLength is reached and only then fire the on_data_in event with data of length RecordLength. This allows data to be received as records of known length. This value can be changed at any time, including within the on_data_in event.

The default value is 0, meaning this property is not used.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks IPC 2020 Python Edition - Version 20.0 [Build 8155]