on_connected_entry Event

Fired for every connected device when the ListConnections method is called.

Syntax

class NetDialConnectedEntryEventParams(object):
  @property
  def handle() -> int: ...
  @property
  def entry() -> str: ...
  @property
  def device_name() -> str: ...
  @property
  def device_type() -> str: ...
  @property
  def status_description() -> str: ...

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

Remarks

The Handle parameter can be used to disconnect the entry. You should assign Handle to the handle property and then call the disconnect method.

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