@Plugin(name="multicastdns", category="Core", elementType="advertiser", printObject=false) public class MulticastDnsAdvertiser extends Object implements Advertiser
Modifier and Type | Field and Description |
---|---|
protected static org.apache.logging.log4j.Logger |
LOGGER
Status logger.
|
Constructor and Description |
---|
MulticastDnsAdvertiser() |
Modifier and Type | Method and Description |
---|---|
Object |
advertise(Map<String,String> properties)
Advertise the provided entity.
|
void |
unadvertise(Object serviceInfo)
Unadvertise the previously advertised entity.
|
protected static final org.apache.logging.log4j.Logger LOGGER
public MulticastDnsAdvertiser()
public Object advertise(Map<String,String> properties)
advertise
in interface Advertiser
properties
- the properties representing the entity to advertisepublic void unadvertise(Object serviceInfo)
unadvertise
in interface Advertiser
serviceInfo
- Copyright © 1999-2021 The Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.