Example usage for twitter4j StatusListener interface-usage

List of usage examples for twitter4j StatusListener interface-usage

Introduction

In this page you can find the example usage for twitter4j StatusListener interface-usage.

Usage

From source file com.e2.StreamingListener.java

/**
 *
 * @author kxhtj529
 */
public class StreamingListener implements StatusListener {

From source file com.github.jcustenborder.kafka.connect.twitter.TwitterSourceTask.java

public class TwitterSourceTask extends SourceTask implements StatusListener {
    static final Logger log = LoggerFactory.getLogger(TwitterSourceTask.class);
    final ConcurrentLinkedDeque<SourceRecord> messageQueue = new ConcurrentLinkedDeque<>();

    TwitterStream twitterStream;
    TwitterSourceConnectorConfig config;

From source file com.ocpsoft.hatchling.twitter.PersistentStatusListener.java

/**
 * @author <a href="mailto:lincolnbaxter@gmail.com">Lincoln Baxter, III</a>
 */
public class PersistentStatusListener implements StatusListener {
    private static final long serialVersionUID = -5644560161264580993L;
    Logger log = Logger.getLogger(PersistentStatusListener.class);

From source file com.project.shlok.TopicsAnalyzer.TwitterReader.java

/**
 * TwitterStreamListener
 * Purpose: Class containing the interface to handle callbacks when a tweet is received
 * 
 */

From source file com.richardstansbury.tweetfollow.TwitterHelper.java

/**
 * @author Richard S. Stansbury
 *
 * This is a support class to handle interactions with Twitter4J API for Twiter.
 *
 * It creates a _twitter stream class that will can be started using an array of keywords.

From source file crawler.DataStream.java

public class DataStream implements StatusListener {
    private ArrayList<Status> statusRepo = new ArrayList<Status>();

    public ArrayList<Status> getList() {
        ArrayList<Status> statuses = new ArrayList<Status>(statusRepo);
        statusRepo.clear();

From source file DataCollection.ActiveTrendsStatusListener.java

/**
 * A TwitterStream class needs a status listener and this is the 
 * implementation of it.
 * 
 * This listener is "activated" on events such as a new tweet has 
 * been fetched.

From source file de.fhb.twitalyse.spout.TwitterStreamSpout.java

/**
 * This Spout connects to the Twitter API and opens up a Stream. The Spout
 * listens for new Twitter Stati posted on the public Twitter Channel and push
 * it in the System.
 * 
 * @author Michael Koppen <koppen@fh-brandenburg.de>

From source file de.twitterlivesearch.twitter.TwitterStreamListener.java

/**
 * This is a wrapper class which simplifies handling of UserStreamListener and
 * StatusListener in Twitter4J. Since twitter4j expects the user to decide which
 * listener should be used, we can easily use this listener for Gardenhose and
 * Userstream. <br />
 * There are several possibilites to handle different events in tihs class;

From source file im.ligas.twittermap.portlet.TwitterStatusListener.java

/**
 * @author Miroslav Ligas
 */
public class TwitterStatusListener implements StatusListener {

    private final static Log LOG = LogFactoryUtil.getLog(TwitterStatusListener.class);