public abstract class AbstractTwitterInboundChannelAdapter
extends org.springframework.integration.endpoint.MessageProducerSupport
| Modifier and Type | Class and Description |
|---|---|
protected class |
AbstractTwitterInboundChannelAdapter.StreamReadingTask |
lifecycleCondition, lifecycleLock| Modifier | Constructor and Description |
|---|---|
protected |
AbstractTwitterInboundChannelAdapter(org.springframework.social.twitter.api.impl.TwitterTemplate twitter) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract URI |
buildUri() |
protected abstract void |
doSendLine(String line) |
protected void |
doStart() |
protected void |
doStop() |
protected void |
onInit() |
void |
setConnectTimeout(int millis)
The connection timeout for making a connection to Twitter.
|
void |
setReadTimeout(int millis)
The read timeout for the underlying URLConnection to the twitter stream.
|
protected void |
wait(int millis) |
afterSingletonsInstantiated, buildErrorMessage, getErrorChannel, getErrorMessageAttributes, getMessagingTemplate, getOutputChannel, sendErrorMessageIfNecessary, sendMessage, setErrorChannel, setErrorChannelName, setErrorMessageStrategy, setOutputChannel, setOutputChannelName, setSendTimeout, setShouldTrackdestroy, doStop, getPhase, getRole, isAutoStartup, isRunning, setAutoStartup, setPhase, setRole, setTaskScheduler, start, stop, stopafterPropertiesSet, extractTypeIfPossible, getApplicationContext, getApplicationContextId, getBeanFactory, getChannelResolver, getComponentName, getComponentType, getConversionService, getExpression, getIntegrationProperties, getIntegrationProperty, getMessageBuilderFactory, getTaskScheduler, isInitialized, setApplicationContext, setBeanFactory, setBeanName, setChannelResolver, setComponentName, setConversionService, setMessageBuilderFactory, setPrimaryExpression, toStringprotected AbstractTwitterInboundChannelAdapter(org.springframework.social.twitter.api.impl.TwitterTemplate twitter)
public void setReadTimeout(int millis)
public void setConnectTimeout(int millis)
protected void onInit()
onInit in class org.springframework.integration.endpoint.MessageProducerSupportprotected void doStart()
doStart in class org.springframework.integration.endpoint.MessageProducerSupportprotected void doStop()
doStop in class org.springframework.integration.endpoint.MessageProducerSupportprotected abstract URI buildUri()
protected abstract void doSendLine(String line)
protected void wait(int millis)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.