public class MulticastReceiver extends Receiver implements PortBased, AddressBased, Pauseable
Modifier and Type | Field and Description |
---|---|
static String |
ZONE
The MulticastDNS zone advertised by a MulticastReceiver
|
thresholdLevel
active, name
repository
Constructor and Description |
---|
MulticastReceiver() |
Modifier and Type | Method and Description |
---|---|
void |
activateOptions() |
String |
getAddress()
Returns a String representation of the Address this instance
encompasses.
|
String |
getDecoder() |
String |
getEncoding()
Returns value of the Encoding option.
|
int |
getPort()
Returns the Port # that this net based thing is using.
|
boolean |
isAdvertiseViaMulticastDNS() |
boolean |
isPaused()
Get paused state.
|
void |
setAddress(String address) |
void |
setAdvertiseViaMulticastDNS(boolean advertiseViaMulticastDNS) |
void |
setDecoder(String decoder) |
void |
setEncoding(String encoding)
The Encoding option specifies how the bytes are encoded.
|
void |
setPaused(boolean b)
Set paused state.
|
void |
setPort(int port) |
void |
shutdown()
Call when the plugin should be stopped.
|
doPost, getThreshold, isAsSevereAsThreshold, setThreshold
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getLoggerRepository, getName, isActive, isEquivalent, removePropertyChangeListener, removePropertyChangeListener, setLoggerRepository, setName
getLogger, getNonFloodingLogger, resetErrorCount
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName, isActive
public static final String ZONE
public String getDecoder()
public void setDecoder(String decoder)
public int getPort()
PortBased
public void setPort(int port)
public String getAddress()
AddressBased
getAddress
in interface AddressBased
public void setEncoding(String encoding)
public String getEncoding()
public void shutdown()
Plugin
public void setAddress(String address)
public boolean isPaused()
Pauseable
public void setPaused(boolean b)
Pauseable
public void activateOptions()
activateOptions
in interface org.apache.log4j.spi.OptionHandler
public void setAdvertiseViaMulticastDNS(boolean advertiseViaMulticastDNS)
public boolean isAdvertiseViaMulticastDNS()
Copyright © 2002-2017 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache Chainsaw, Chainsaw, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.