public class MulticastReceiver extends Receiver implements PortBased, AddressBased, Pauseable
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ZONE
The MulticastDNS zone advertised by a MulticastReceiver
|
thresholdLevelactive, namerepository| Constructor and Description |
|---|
MulticastReceiver() |
| Modifier and Type | Method and Description |
|---|---|
void |
activateOptions() |
java.lang.String |
getAddress()
Returns a String representation of the Address this instance
encompasses.
|
java.lang.String |
getDecoder() |
java.lang.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(java.lang.String address) |
void |
setAdvertiseViaMulticastDNS(boolean advertiseViaMulticastDNS) |
void |
setDecoder(java.lang.String decoder) |
void |
setEncoding(java.lang.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, isActivepublic static final java.lang.String ZONE
public java.lang.String getDecoder()
public void setDecoder(java.lang.String decoder)
public int getPort()
PortBasedpublic void setPort(int port)
public java.lang.String getAddress()
AddressBasedgetAddress in interface AddressBasedpublic void setEncoding(java.lang.String encoding)
public java.lang.String getEncoding()
public void shutdown()
Pluginpublic void setAddress(java.lang.String address)
public boolean isPaused()
Pauseablepublic void setPaused(boolean b)
Pauseablepublic void activateOptions()
activateOptions in interface org.apache.log4j.spi.OptionHandlerpublic void setAdvertiseViaMulticastDNS(boolean advertiseViaMulticastDNS)
public boolean isAdvertiseViaMulticastDNS()
Copyright © 2018. All rights reserved.