public class UDPReceiver extends Receiver implements PortBased, Pauseable
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
paused |
static String |
ZONE
The MulticastDNS zone advertised by a UDPReceiver
|
thresholdLevelactive, namerepository| Constructor and Description |
|---|
UDPReceiver() |
| Modifier and Type | Method and Description |
|---|---|
void |
activateOptions()
Returns true if this receiver is active.
|
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 |
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, setThresholdaddPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getLoggerRepository, getName, isActive, isEquivalent, removePropertyChangeListener, removePropertyChangeListener, setLoggerRepository, setNamegetLogger, getNonFloodingLogger, resetErrorCountclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetName, isActiveprotected boolean paused
public static final String ZONE
public int getPort()
PortBasedpublic void setPort(int port)
public void setEncoding(String encoding)
public String getEncoding()
public String getDecoder()
public void setDecoder(String decoder)
public boolean isPaused()
Pauseablepublic void setPaused(boolean b)
Pauseablepublic void setAdvertiseViaMulticastDNS(boolean advertiseViaMulticastDNS)
public boolean isAdvertiseViaMulticastDNS()
public void shutdown()
Pluginpublic void activateOptions()
activateOptions in interface org.apache.log4j.spi.OptionHandlerCopyright © 2013 The Apache Software Foundation. Licensed under the Apache License, Version 2.0
Apache Extras for Apache log4j, Apache log4j and Apache are trademarks of the Apache Software Foundation.