Package org.opennms.netmgt.syslogd
Class SinkDispatchingSyslogReceiver
- java.lang.Object
-
- org.opennms.netmgt.syslogd.SinkDispatchingSyslogReceiver
-
- All Implemented Interfaces:
Runnable,SyslogReceiver
- Direct Known Subclasses:
SyslogReceiverCamelNettyImpl,SyslogReceiverJavaNetImpl
public abstract class SinkDispatchingSyslogReceiver extends Object implements SyslogReceiver
-
-
Field Summary
Fields Modifier and Type Field Description protected AsyncDispatcher<SyslogConnection>m_dispatcher
-
Constructor Summary
Constructors Constructor Description SinkDispatchingSyslogReceiver(SyslogdConfig config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidrun()voidsetDistPollerDao(DistPollerDao distPollerDao)voidsetMessageDispatcherFactory(MessageDispatcherFactory messageDispatcherFactory)voidstop()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opennms.netmgt.syslogd.SyslogReceiver
getName, reload
-
-
-
-
Field Detail
-
m_dispatcher
protected AsyncDispatcher<SyslogConnection> m_dispatcher
-
-
Constructor Detail
-
SinkDispatchingSyslogReceiver
public SinkDispatchingSyslogReceiver(SyslogdConfig config)
-
-
Method Detail
-
run
public void run()
- Specified by:
runin interfaceRunnable- Specified by:
runin interfaceSyslogReceiver
-
stop
public void stop() throws InterruptedException- Specified by:
stopin interfaceSyslogReceiver- Throws:
InterruptedException
-
setDistPollerDao
public void setDistPollerDao(DistPollerDao distPollerDao)
-
setMessageDispatcherFactory
public void setMessageDispatcherFactory(MessageDispatcherFactory messageDispatcherFactory)
-
-