zeroconf

class platypush.message.event.zeroconf.ZeroconfEvent(service_event: platypush.message.event.zeroconf.ZeroconfEventType, service_type: str, service_name: str, service_info: Optional[dict] = None, *args, **kwargs)[source]
__init__(service_event: platypush.message.event.zeroconf.ZeroconfEventType, service_type: str, service_name: str, service_info: Optional[dict] = None, *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]

class platypush.message.event.zeroconf.ZeroconfEventType(value)[source]

An enumeration.

class platypush.message.event.zeroconf.ZeroconfServiceAddedEvent(*args, **kwargs)[source]

Event triggered when a service is added or discovered.

__init__(*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]

class platypush.message.event.zeroconf.ZeroconfServiceRemovedEvent(*args, **kwargs)[source]

Event triggered when a service is removed.

__init__(*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]

class platypush.message.event.zeroconf.ZeroconfServiceUpdatedEvent(*args, **kwargs)[source]

Event triggered when a service is updated.

__init__(*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]