ping
Platypush documentation
ping
- class platypush.message.event.ping.HostDownEvent(host: str, *args, **kwargs)[source]
Bases:
Event
Event triggered when a remote host stops responding ping requests.
- __init__(host: str, *args, **kwargs)[source]
- Params:
target – Target node [String] origin – Origin node (default: current node) [String] id – Event ID (default: auto-generated) kwargs – Additional arguments for the event [kwDict] logging_level – Logging level that should be applied to these
events (default: INFO).
- class platypush.message.event.ping.HostUpEvent(host: str, *args, **kwargs)[source]
Bases:
Event
Event triggered when a remote host starts responding ping requests.
- __init__(host: str, *args, **kwargs)[source]
- Params:
target – Target node [String] origin – Origin node (default: current node) [String] id – Event ID (default: auto-generated) kwargs – Additional arguments for the event [kwDict] logging_level – Logging level that should be applied to these
events (default: INFO).