on_ip_address Event

Fired for each valid IP address on this host.


class IPMonitorIPAddressEventParams(object):
  def ip_address() -> str: ...

# In class IPMonitor:
def on_ip_address() -> Callable[[IPMonitorIPAddressEventParams], None]: ...
def on_ip_address(event_hook: Callable[[IPMonitorIPAddressEventParams], None]) -> None: ...


Before monitoring the network, local_host must be set to a valid address on the host. Use list_ip_addresses method to list all valid addresses that can be monitored. After a call to the method, an on_ip_address event will fire for each address.

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