org.apache.log4j.net
クラス UDPReceiver
java.lang.Object
org.apache.log4j.spi.ComponentBase
org.apache.log4j.plugins.PluginSkeleton
org.apache.log4j.plugins.Receiver
org.apache.log4j.net.UDPReceiver
- すべての実装されたインタフェース:
- NetworkBased, PortBased, org.apache.log4j.plugins.Pauseable, org.apache.log4j.plugins.Plugin, org.apache.log4j.spi.Component, org.apache.log4j.spi.OptionHandler, org.apache.log4j.spi.Thresholdable
public class UDPReceiver
- extends org.apache.log4j.plugins.Receiver
- implements PortBased, org.apache.log4j.plugins.Pauseable
Receive LoggingEvents encoded with an XMLLayout, convert the XML data to a
LoggingEvent and post the LoggingEvent.
- 作成者:
- Scott Deboy
フィールドの概要 |
protected boolean |
paused
|
static java.lang.String |
ZONE
The MulticastDNS zone advertised by a UDPReceiver |
クラス org.apache.log4j.plugins.Receiver から継承されたフィールド |
thresholdLevel |
クラス org.apache.log4j.plugins.PluginSkeleton から継承されたフィールド |
active, name |
クラス org.apache.log4j.spi.ComponentBase から継承されたフィールド |
repository |
クラス org.apache.log4j.plugins.Receiver から継承されたメソッド |
doPost, getThreshold, isAsSevereAsThreshold, setThreshold |
クラス org.apache.log4j.plugins.PluginSkeleton から継承されたメソッド |
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getLoggerRepository, getName, isActive, isEquivalent, removePropertyChangeListener, removePropertyChangeListener, setLoggerRepository, setName |
クラス org.apache.log4j.spi.ComponentBase から継承されたメソッド |
getLogger, getNonFloodingLogger, resetErrorCount |
クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
paused
protected boolean paused
ZONE
public static final java.lang.String ZONE
- The MulticastDNS zone advertised by a UDPReceiver
- 関連項目:
- 定数フィールド値
UDPReceiver
public UDPReceiver()
getPort
public int getPort()
- インタフェース
PortBased
の記述:
- Returns the Port # that this net based thing is using.
- 定義:
- インタフェース
PortBased
内の getPort
- 戻り値:
- int port number
setPort
public void setPort(int port)
setEncoding
public void setEncoding(java.lang.String encoding)
- The Encoding option specifies how the bytes are encoded. If this
option is not specified, the system encoding will be used.
getEncoding
public java.lang.String getEncoding()
- Returns value of the Encoding option.
getDecoder
public java.lang.String getDecoder()
setDecoder
public void setDecoder(java.lang.String decoder)
isPaused
public boolean isPaused()
- 定義:
- インタフェース
org.apache.log4j.plugins.Pauseable
内の isPaused
setPaused
public void setPaused(boolean b)
- 定義:
- インタフェース
org.apache.log4j.plugins.Pauseable
内の setPaused
setAdvertiseViaMulticastDNS
public void setAdvertiseViaMulticastDNS(boolean advertiseViaMulticastDNS)
isAdvertiseViaMulticastDNS
public boolean isAdvertiseViaMulticastDNS()
shutdown
public void shutdown()
- 定義:
- インタフェース
org.apache.log4j.plugins.Plugin
内の shutdown
activateOptions
public void activateOptions()
- Returns true if this receiver is active.
- 定義:
- インタフェース
org.apache.log4j.spi.OptionHandler
内の activateOptions
Copyright © 2010 Apache Software Foundation. All Rights Reserved.