|
Spring Integration | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.integration.context.IntegrationObjectSupport org.springframework.integration.endpoint.AbstractEndpoint org.springframework.integration.endpoint.MessageProducerSupport org.springframework.integration.syslog.inbound.SyslogReceivingChannelAdapterSupport org.springframework.integration.syslog.inbound.TcpSyslogReceivingChannelAdapter
public class TcpSyslogReceivingChannelAdapter
TCP implementation of a syslog inbound channel adapter.
Field Summary |
---|
Fields inherited from class org.springframework.integration.syslog.inbound.SyslogReceivingChannelAdapterSupport |
---|
DEFAULT_PORT, logger |
Constructor Summary | |
---|---|
TcpSyslogReceivingChannelAdapter()
|
Method Summary | |
---|---|
protected void |
doStart()
Takes no action by default. |
protected void |
doStop()
Takes no action by default. |
protected void |
onInit()
Subclasses may implement this for initialization logic. |
boolean |
onMessage(Message<?> message)
Called by a TCPConnection when a new message arrives. |
void |
setConnectionFactory(AbstractServerConnectionFactory connectionFactory)
|
Methods inherited from class org.springframework.integration.syslog.inbound.SyslogReceivingChannelAdapterSupport |
---|
convertAndSend, getPort, setConverter, setPort |
Methods inherited from class org.springframework.integration.endpoint.MessageProducerSupport |
---|
sendMessage, setErrorChannel, setOutputChannel, setSendTimeout, setShouldTrack |
Methods inherited from class org.springframework.integration.endpoint.AbstractEndpoint |
---|
getPhase, isAutoStartup, isRunning, setAutoStartup, setPhase, setTaskScheduler, start, stop, stop |
Methods inherited from class org.springframework.integration.context.IntegrationObjectSupport |
---|
afterPropertiesSet, getApplicationContextId, getBeanFactory, getComponentName, getComponentType, getConversionService, getTaskScheduler, setApplicationContext, setBeanFactory, setBeanName, setComponentName, setConversionService, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.springframework.integration.context.NamedComponent |
---|
getComponentName, getComponentType |
Constructor Detail |
---|
public TcpSyslogReceivingChannelAdapter()
Method Detail |
---|
public void setConnectionFactory(AbstractServerConnectionFactory connectionFactory)
connectionFactory
- protected void onInit()
IntegrationObjectSupport
onInit
in class MessageProducerSupport
protected void doStart()
MessageProducerSupport
doStart
in class MessageProducerSupport
protected void doStop()
MessageProducerSupport
doStop
in class MessageProducerSupport
public boolean onMessage(Message<?> message)
TcpListener
onMessage
in interface TcpListener
message
- The message.
|
Spring Integration | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |