Package org.opennms.netmgt.syslogd
Class SinkDispatchingSyslogReceiver
- java.lang.Object
-
- org.opennms.netmgt.syslogd.SinkDispatchingSyslogReceiver
-
- All Implemented Interfaces:
java.lang.Runnable
,SyslogReceiver
- Direct Known Subclasses:
SyslogReceiverCamelNettyImpl
,SyslogReceiverJavaNetImpl
public abstract class SinkDispatchingSyslogReceiver extends java.lang.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 void
run()
void
setDistPollerDao(DistPollerDao distPollerDao)
void
setMessageDispatcherFactory(MessageDispatcherFactory messageDispatcherFactory)
void
stop()
-
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:
run
in interfacejava.lang.Runnable
- Specified by:
run
in interfaceSyslogReceiver
-
stop
public void stop() throws java.lang.InterruptedException
- Specified by:
stop
in interfaceSyslogReceiver
- Throws:
java.lang.InterruptedException
-
setDistPollerDao
public void setDistPollerDao(DistPollerDao distPollerDao)
-
setMessageDispatcherFactory
public void setMessageDispatcherFactory(MessageDispatcherFactory messageDispatcherFactory)
-
-