org.apache.log4j.net
クラス MulticastReceiver
java.lang.Object
org.apache.log4j.spi.ComponentBase
org.apache.log4j.plugins.PluginSkeleton
org.apache.log4j.plugins.Receiver
org.apache.log4j.net.MulticastReceiver
- すべての実装されたインタフェース:
- AddressBased, 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 MulticastReceiver
- extends org.apache.log4j.plugins.Receiver
- implements PortBased, AddressBased, org.apache.log4j.plugins.Pauseable
Multicast-based receiver. Accepts LoggingEvents encoded using
MulticastAppender and XMLLayout. The the XML data is converted
back to a LoggingEvent and is posted.
- 作成者:
- Scott Deboy
フィールドの概要 |
static java.lang.String |
ZONE
The MulticastDNS zone advertised by a MulticastReceiver |
クラス 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 |
ZONE
public static final java.lang.String ZONE
- The MulticastDNS zone advertised by a MulticastReceiver
- 関連項目:
- 定数フィールド値
MulticastReceiver
public MulticastReceiver()
getDecoder
public java.lang.String getDecoder()
setDecoder
public void setDecoder(java.lang.String decoder)
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)
getAddress
public java.lang.String getAddress()
- インタフェース
AddressBased
の記述:
- Returns a String representation of the Address this instance
encompasses.
- 定義:
- インタフェース
AddressBased
内の getAddress
- 戻り値:
- String representation of the Address
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.
shutdown
public void shutdown()
- 定義:
- インタフェース
org.apache.log4j.plugins.Plugin
内の shutdown
setAddress
public void setAddress(java.lang.String address)
isPaused
public boolean isPaused()
- 定義:
- インタフェース
org.apache.log4j.plugins.Pauseable
内の isPaused
setPaused
public void setPaused(boolean b)
- 定義:
- インタフェース
org.apache.log4j.plugins.Pauseable
内の setPaused
activateOptions
public void activateOptions()
- 定義:
- インタフェース
org.apache.log4j.spi.OptionHandler
内の activateOptions
setAdvertiseViaMulticastDNS
public void setAdvertiseViaMulticastDNS(boolean advertiseViaMulticastDNS)
isAdvertiseViaMulticastDNS
public boolean isAdvertiseViaMulticastDNS()
Copyright © 2010 Apache Software Foundation. All Rights Reserved.