public class UDPReceiver extends Receiver implements PortBased, Pauseable
Modifier and Type | Field and Description |
---|---|
protected boolean |
paused |
static java.lang.String |
ZONE
The MulticastDNS zone advertised by a UDPReceiver
|
thresholdLevel
active, name
repository
Constructor and Description |
---|
UDPReceiver() |
Modifier and Type | Method and Description |
---|---|
void |
activateOptions()
Returns true if this receiver is active.
|
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 |
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, 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
protected boolean paused
public static final java.lang.String ZONE
public int getPort()
PortBased
public void setPort(int port)
public void setEncoding(java.lang.String encoding)
public java.lang.String getEncoding()
public java.lang.String getDecoder()
public void setDecoder(java.lang.String decoder)
public boolean isPaused()
Pauseable
public void setPaused(boolean b)
Pauseable
public void setAdvertiseViaMulticastDNS(boolean advertiseViaMulticastDNS)
public boolean isAdvertiseViaMulticastDNS()
public void shutdown()
Plugin
public void activateOptions()
activateOptions
in interface OptionHandler
Copyright © 2006-2019 OPS4J - Open Participation Software for Java. All Rights Reserved.