public class TwitterStreamProvider extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
accessToken |
protected String |
accessTokenSecret |
protected String |
consumerKey |
protected String |
consumerSecret |
Constructor and Description |
---|
TwitterStreamProvider(String consumerKey,
String consumerSecret) |
TwitterStreamProvider(String consumerKey,
String consumerSecret,
String accessToken,
String accessTokenSecret) |
Modifier and Type | Method and Description |
---|---|
DataException |
addExceptionProperties(DataException exception) |
void |
close() |
ConfigurationBuilder |
getConfig() |
String |
getHttpProxyHost() |
Integer |
getHttpProxyPort() |
protected TwitterStream |
getTwitterStream() |
void |
open(String rateLimitResource,
String rateLimitKey) |
TwitterStreamProvider |
setHttpProxyHost(String httpProxyHost) |
TwitterStreamProvider |
setHttpProxyPort(Integer httpProxyPort) |
protected final String consumerKey
protected final String consumerSecret
protected final String accessToken
protected final String accessTokenSecret
public ConfigurationBuilder getConfig()
public String getHttpProxyHost()
public TwitterStreamProvider setHttpProxyHost(String httpProxyHost)
public Integer getHttpProxyPort()
public TwitterStreamProvider setHttpProxyPort(Integer httpProxyPort)
public void open(String rateLimitResource, String rateLimitKey) throws DataException
DataException
public void close() throws DataException
DataException
protected TwitterStream getTwitterStream()
public DataException addExceptionProperties(DataException exception)
Copyright (c) 2006-2024 North Concepts Inc. All Rights Reserved.