public abstract class AbstractTwitterInboundChannelAdapter
extends org.springframework.integration.endpoint.MessageProducerSupport
Modifier and Type | Class and Description |
---|---|
protected class |
AbstractTwitterInboundChannelAdapter.StreamReadingTask |
Modifier | Constructor and Description |
---|---|
protected |
AbstractTwitterInboundChannelAdapter(org.springframework.social.twitter.api.impl.TwitterTemplate twitter) |
Modifier and Type | Method and Description |
---|---|
protected abstract java.net.URI |
buildUri() |
protected abstract void |
doSendLine(java.lang.String line) |
protected void |
doStart() |
protected void |
doStop() |
java.lang.String |
getLanguage() |
protected void |
onInit() |
void |
setConnectTimeout(int millis)
The connection timeout for making a connection to Twitter.
|
void |
setLanguage(java.lang.String language)
Filter tweets by language or languages.
|
void |
setReadTimeout(int millis)
The read timeout for the underlying URLConnection to the twitter stream.
|
protected void |
wait(int millis) |
getMessagingTemplate, sendMessage, setErrorChannel, setOutputChannel, setSendTimeout, setShouldTrack
doStop, getPhase, isAutoStartup, isRunning, setAutoStartup, setPhase, setTaskScheduler, start, stop, stop
afterPropertiesSet, extractTypeIfPossible, getApplicationContext, getApplicationContextId, getBeanFactory, getChannelResolver, getComponentName, getComponentType, getConversionService, getIntegrationProperties, getIntegrationProperty, getMessageBuilderFactory, getTaskScheduler, setApplicationContext, setBeanFactory, setBeanName, setChannelResolver, setComponentName, setConversionService, setMessageBuilderFactory, toString
protected AbstractTwitterInboundChannelAdapter(org.springframework.social.twitter.api.impl.TwitterTemplate twitter)
public void setReadTimeout(int millis)
public void setConnectTimeout(int millis)
public void setLanguage(java.lang.String language)
public java.lang.String getLanguage()
protected void onInit()
onInit
in class org.springframework.integration.endpoint.MessageProducerSupport
protected void doStart()
doStart
in class org.springframework.integration.endpoint.MessageProducerSupport
protected void doStop()
doStop
in class org.springframework.integration.endpoint.MessageProducerSupport
protected abstract java.net.URI buildUri()
protected abstract void doSendLine(java.lang.String line)
protected void wait(int millis)