on_status Event

Fired during connection or disconnection attempts.

Syntax

class NetDialStatusEventParams(object):
  @property
  def operation() -> int: ...
  @property
  def status_code() -> int: ...
  @property
  def operation_description() -> str: ...
  @property
  def status_description() -> str: ...

# In class NetDial:
@property
def on_status() -> Callable[[NetDialStatusEventParams], None]: ...
@on_status.setter
def on_status(event_hook: Callable[[NetDialStatusEventParams], None]) -> None: ...

Remarks

The Operation parameter indicates the operation currently in progress.

The StatusCode shows the status of the operation.

The OperationDescription and StatusDescription parameters are the corresponding descriptions.

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