on_ip_address Event

Fired for each valid IP address on this host.

Syntax

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

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

Remarks

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 8307]