IPWorks SSH 2020 Python Edition

Questions / Feedback?

record_length Property

The length of received data records.

Syntax

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

Default Value

0

Remarks

The length of received data records. If set to a positive value, this setting defines the length of data records to be received. The class will accumulate data until RecordLength is reached and only then fire the ondatain 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 ondatain event.

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

The ssh_channel_id parameter specifies the index of the item in the array. The size of the array is controlled by the ssh_channel_count property.

Copyright (c) 2023 /n software inc. - All rights reserved.
IPWorks SSH 2020 Python Edition - Version 20.0 [Build 8501]