IPWorks EDI 2020 Python Edition

Questions / Feedback?

on_transfer Event

Fires during incoming data transfer.

Syntax

class MLLPServerTransferEventParams(object):
  @property
  def connection_id() -> int: ...
  @property
  def bytes_transferred() -> int: ...
  @property
  def data() -> bytes: ...

# In class MLLPServer:
@property
def on_transfer() -> Callable[[MLLPServerTransferEventParams], None]: ...
@on_transfer.setter
def on_transfer(event_hook: Callable[[MLLPServerTransferEventParams], None]) -> None: ...

Remarks

This event fires one or more times while incoming data is being transferred.

The ConnectionId parameter is the Id of the connection on which data is being transferred.

The BytesTransferred parameter reflects the number of bytes transferred since the beginning of the transfer.

The Data parameter contains the portion of the data being delivered currently.

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